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

QueryParser produces empty BooleanQueries when all clauses are stop words

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Component/s: core/queryparser
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: PC

    • Bugzilla Id:
      7574

      Description

      When I want to do the following query (example):
      (fieldx : xxxxx OR fieldy : xxxxxxxx)AND(fieldx : stopword OR fieldy : stopword)
      it will search (after passing the Analyzer including a StopFilter) for
      (fieldx : xxxxx OR fieldy : xxxxxx) AND() and give a wrong searchresult or a
      NullPointerException.

        Attachments

        1. LUCENE-25.patch
          2 kB
          Grant Ingersoll
        2. ASF.LICENSE.NOT.GRANTED--patch9.txt
          9 kB
          Jean-Fran├žois Halleux

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                p.witte@cs.unimaas.nl Puk Witte
              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: