Solr
  1. Solr
  2. SOLR-5012

optimize search with filter when filterCache is null

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently, this is very slow (it pulls bitsets and then intersects them after the fact).

      If you have no filterCache, it should be treated as if you specified cache=false implicitly and intersected with the query.

      1. SOLR-5012.patch
        0.7 kB
        Robert Muir

        Activity

        Hide
        Robert Muir added a comment -

        simple patch: easiest to just wrap the query as if the user specified cache=false, so that this situation still works correctly with any postfiltering or any of that.

        Show
        Robert Muir added a comment - simple patch: easiest to just wrap the query as if the user specified cache=false, so that this situation still works correctly with any postfiltering or any of that.
        Hide
        ASF subversion and git services added a comment -

        Commit 1501004 from Robert Muir
        [ https://svn.apache.org/r1501004 ]

        SOLR-5012: optimize search with filter when filterCache is null

        Show
        ASF subversion and git services added a comment - Commit 1501004 from Robert Muir [ https://svn.apache.org/r1501004 ] SOLR-5012 : optimize search with filter when filterCache is null
        Hide
        ASF subversion and git services added a comment -

        Commit 1501014 from Robert Muir
        [ https://svn.apache.org/r1501014 ]

        SOLR-5012: optimize search with filter when filterCache is null

        Show
        ASF subversion and git services added a comment - Commit 1501014 from Robert Muir [ https://svn.apache.org/r1501014 ] SOLR-5012 : optimize search with filter when filterCache is null
        Hide
        Steve Rowe added a comment -

        Bulk close resolved 4.4 issues

        Show
        Steve Rowe added a comment - Bulk close resolved 4.4 issues

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development