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

BooleanQuery seems broken on trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None
    • New

    Description

      Converting a Solr SearchComponent from using filters to using equivalent queries causes its test cases to fail. The reasons are unclear, and I've tried several things to isolate the problem, but with no luck so far.

      The failure manifests itself by the constructed query returning no documents whatsoever, at least within the Solr context it's being used in. The equivalent filter version of the component works properly (as you can see by the passed test).

      To run the test:

      cd solr/contrib/mcf
      ant test

      I will attach both filter and query versions of the code, as patches.

      Attachments

        1. filter.diff
          31 kB
          Karl Wright
        2. query.diff
          31 kB
          Karl Wright

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kwright@metacarta.com Karl Wright
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: