Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5012

optimize search with filter when filterCache is null

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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
        steve_rowe Steve Rowe added a comment -

        Bulk close resolved 4.4 issues

        Show
        steve_rowe Steve Rowe added a comment - Bulk close resolved 4.4 issues
        Hide
        jira-bot 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
        jira-bot 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
        jira-bot 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
        jira-bot 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
        rcmuir 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
        rcmuir 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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development