Changeset 32507 for main

Show
Ignore:
Timestamp:
09.10.2018 19:27:11 (8 months ago)
Author:
ak19
Message:

Having committed the bugfix, commenting out debugging code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/indexers/lucene-gs/src/org/greenstone/LuceneWrapper4/GS2LuceneQuery.java

    r32506 r32507  
    169169        query_including_stop_words = query_including_stop_words.rewrite(reader); 
    170170         
    171         System.err.println("********* query_string " + query_string + "****"); 
     171        // System.err.println("********* query_string " + query_string + "****"); 
    172172 
    173173        Query query = parseQuery(reader, query_parser, query_string, fuzziness); 
    174174        query = recursiveRewriteQuery(query, reader);        
    175         System.err.println("@@@@ final query class name: " + query.getClass()); 
     175        // System.err.println("@@@@ final query class name: " + query.getClass()); 
    176176 
    177177        // http://stackoverflow.com/questions/13537126/term-frequency-in-lucene-4-0 
     
    201201             
    202202        Term term = (Term) iter.next(); 
    203         System.err.println("@@@ GS2LuceneQuery.java: Next term: " + term.text()); 
     203        // System.err.println("@@@ GS2LuceneQuery.java: Next term: " + term.text()); 
    204204        BytesRef term_bytes = term.bytes(); 
    205205        DocsEnum term_docs = MultiFields.getTermDocsEnum(reader, liveDocs, term.field(), term_bytes); // flags? 
     
    513513        //  See http://lucene.apache.org/core/3_6_1/api/core/org/apache/lucene/search/MultiTermQuery.html 
    514514 
    515         System.err.println("@@@@ query class name: " + orig_query.getClass()); 
    516         System.err.println("@@@@ QUERY: " + orig_query); 
     515        //System.err.println("@@@@ query class name: " + orig_query.getClass()); 
     516        //System.err.println("@@@@ QUERY: " + orig_query); 
    517517 
    518518        if(orig_query instanceof MultiTermQuery) {