Changeset 18614

Show
Ignore:
Timestamp:
03.03.2009 13:56:14 (11 years ago)
Author:
mdewsnip
Message:

Removed a big wodge of debug crap that someone left...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • indexers/trunk/lucene-gs/src/org/greenstone/LuceneWrapper/GS2LuceneQuery.java

    r17804 r18614  
    624624    utf8out.flush(); 
    625625 
    626     try { 
    627         /* 
    628         Writer output = null; 
    629         File file = new File("/tmp/lucenequery.txt"); 
    630         output = new BufferedWriter(new FileWriter(file,"UTF-8")); 
    631         output.write(query_results_xml.toString()); 
    632         output.close(); 
    633         */ 
    634  
    635         FileOutputStream fos = new FileOutputStream("/tmp/lucenequery.txt"); 
    636         
    637         OutputStreamWriter osw2 = new OutputStreamWriter(fos, "UTF-8"); 
    638  
    639         osw2.write("Query string = " + query_string + "\n"); 
    640         osw2.write(query_results_xml.toString()); 
    641         osw2.close(); 
    642     } 
    643     catch (Exception e) { 
    644         e.printStackTrace(); 
    645     } 
    646  
    647  
    648  
    649626    // Cache this query result, if desired 
    650627    if (query_result_caching_enabled) {