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

QueryParser produces empty BooleanQueries when all clauses are stop words

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2
    • None
    • core/queryparser
    • None
    • Operating System: All
      Platform: PC

    • 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

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

              Dates

                Created:
                Updated:
                Resolved: