[jira] Created: (SOLR-1650) Consider being able to cache function results per request

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (SOLR-1650) Consider being able to cache function results per request

Tim Allison (Jira)
Consider being able to cache function results per request
---------------------------------------------------------

                 Key: SOLR-1650
                 URL: https://issues.apache.org/jira/browse/SOLR-1650
             Project: Solr
          Issue Type: New Feature
            Reporter: Grant Ingersoll
             Fix For: 1.5


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.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-1650) Consider being able to cache function results per request

Tim Allison (Jira)

    [ https://issues.apache.org/jira/browse/SOLR-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789770#action_12789770 ]

patrick o'leary commented on SOLR-1650:
---------------------------------------

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.

> Consider being able to cache function results per request
> ---------------------------------------------------------
>
>                 Key: SOLR-1650
>                 URL: https://issues.apache.org/jira/browse/SOLR-1650
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>             Fix For: 1.5
>
>
> 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.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-1650) Consider being able to cache function results per request

Tim Allison (Jira)
In reply to this post by Tim Allison (Jira)

    [ https://issues.apache.org/jira/browse/SOLR-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789804#action_12789804 ]

Grant Ingersoll commented on SOLR-1650:
---------------------------------------

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.

> Consider being able to cache function results per request
> ---------------------------------------------------------
>
>                 Key: SOLR-1650
>                 URL: https://issues.apache.org/jira/browse/SOLR-1650
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>             Fix For: 1.5
>
>
> 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.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.