Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12336 Remove Filter from Solr
  3. SOLR-14166

Use TwoPhaseIterator for non-cached filter queries

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • None
    • None

    Description

      "fq" filter queries that have cache=false and which aren't processed as a PostFilter (thus either aren't a PostFilter or have a cost < 100) are processed in SolrIndexSearcher using a custom Filter thingy which uses a cost-ordered series of DocIdSetIterators. This is not TwoPhaseIterator aware, and thus the match() method may be called on docs that ideally would have been filtered by lower-cost filter queries.

      Attachments

        Issue Links

          Activity

            People

              dsmiley David Smiley
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m