Solr
  1. Solr
  2. SOLR-1650

Consider being able to cache function results per request

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.8
    • Component/s: None
    • Labels:
      None

      Description

      Once we can sort, filter and boost by functions, it may be the case that the same function is executed for the same value over and over again. Consider ways to cache this information.

        Issue Links

          Activity

          Hide
          Steve Rowe added a comment -

          Bulk move 4.4 issues to 4.5 and 5.0

          Show
          Steve Rowe added a comment - Bulk move 4.4 issues to 4.5 and 5.0
          Hide
          Hoss Man added a comment -

          Bulk of fixVersion=3.6 -> fixVersion=4.0 for issues that have no assignee and have not been updated recently.

          email notification suppressed to prevent mass-spam
          psuedo-unique token identifying these issues: hoss20120321nofix36

          Show
          Hoss Man added a comment - Bulk of fixVersion=3.6 -> fixVersion=4.0 for issues that have no assignee and have not been updated recently. email notification suppressed to prevent mass-spam psuedo-unique token identifying these issues: hoss20120321nofix36
          Hide
          Robert Muir added a comment -

          3.4 -> 3.5

          Show
          Robert Muir added a comment - 3.4 -> 3.5
          Hide
          Robert Muir added a comment -

          Bulk move 3.2 -> 3.3

          Show
          Robert Muir added a comment - Bulk move 3.2 -> 3.3
          Hide
          Hoss Man added a comment -

          Bulk updating 240 Solr issues to set the Fix Version to "next" per the process outlined in this email...

          http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E

          Selection criteria was "Unresolved" with a Fix Version of 1.5, 1.6, 3.1, or 4.0. email notifications were suppressed.

          A unique token for finding these 240 issues in the future: hossversioncleanup20100527

          Show
          Hoss Man added a comment - Bulk updating 240 Solr issues to set the Fix Version to "next" per the process outlined in this email... http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E Selection criteria was "Unresolved" with a Fix Version of 1.5, 1.6, 3.1, or 4.0. email notifications were suppressed. A unique token for finding these 240 issues in the future: hossversioncleanup20100527
          Hide
          Grant Ingersoll added a comment -

          I was thinking of a cache whose scope was the length of the request. The basic use case is:

          1. Filter by distance
          2. Boost/Sort by distance
          3. Facet by distance

          Of course, this could feed the pseudo fields, too.

          Show
          Grant Ingersoll added a comment - I was thinking of a cache whose scope was the length of the request. The basic use case is: 1. Filter by distance 2. Boost/Sort by distance 3. Facet by distance Of course, this could feed the pseudo fields, too.
          Hide
          patrick o'leary added a comment -

          Can we ensure that function queries have an isCachable method?
          Distance functions can have a lot of uniqueness (think dragging on a map for setting the center) with a lot of distances attached.

          Having a generic cache means setting a low cache to avoid distance bloating, would mean lowering the value for other functions queries wanting to use that cache.

          Show
          patrick o'leary added a comment - Can we ensure that function queries have an isCachable method? Distance functions can have a lot of uniqueness (think dragging on a map for setting the center) with a lot of distances attached. Having a generic cache means setting a low cache to avoid distance bloating, would mean lowering the value for other functions queries wanting to use that cache.

            People

            • Assignee:
              Unassigned
              Reporter:
              Grant Ingersoll
            • Votes:
              4 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development