DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26666>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26666

Endless loop since lucene 1.4RC1

           Summary: Endless loop since lucene 1.4RC1
           Product: Lucene
           Version: unspecified
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Search
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If I build a BooleanQuery containing two subqueries like :

        BooleanQuery bq= new BooleanQuery();
        bq.add(new TermQuery(new Term("TEXT","system")),false,false);
        bq.add(new TermQuery(new Term("TEXT","systems")),false,false);

        PhraseQuery pq = new PhraseQuery();
        pq.add(new Term("TEXT","information"));
        pq.add(new Term("TEXT","retrieval"));
                
        BooleanQuery bigger = new BooleanQuery();
        bigger.add(requete1,true,false);
        bigger.add(pq,true,false);

and send it to the seacher the program seems to be in an endless loop. No crash
- no exception but no results neither.

Replacing the 2 last lines by 
        bigger.add(requete1,false,false);
        bigger.add(pq,false,false);
is working perfectly

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to