Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-218

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

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 1.2
    • None
    • core/queryparser
    • None
    • Operating System: other
      Platform: PC

    • 28601

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dmabe@constellagroup.com David Mabe
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: