lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28601] New: - Query Parser flags clauses with explicit OR as required when followed by explicit AND.
Date Mon, 26 Apr 2004 15:35:44 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28601>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28601

Query Parser flags clauses with explicit OR as required when followed by explicit AND.

           Summary: Query Parser flags clauses with explicit OR as required
                    when followed by explicit AND.
           Product: Lucene
           Version: 1.0.2
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: QueryParser
        AssignedTo: lucene-dev@jakarta.apache.org
        ReportedBy: dmabe@constellagroup.com


When the following string is parsed:

ONE NOT TWO OR THREE NOT FOUR OR FIVE AND SIX SEVEN OR THRE OR FIVEE OR FOUR 
AND FIVE SIXX

The following query is returned:
+ONE -TWO THREE -FOUR +FIVE +SIX SEVEN THRE FIVEE +FOUR +FIVE +SIXX

Note that the first FIVE is required when it should not be.
Also note that the first THREE is calculated correctly with the explicit OR.

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message