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

Mikhail Khludnev edited comment on SOLR-13808 at 10/21/19 11:55 AM:
--------------------------------------------------------------------

Ok. It seems like the plan is to
 # -create \{!cache} query parser to hook it up by existing DSL. Caveat for 
users is loosing scoring-. 
 # enable cache by default for \{!bool filter=... filter=..}
 # make sure that it's sensitive for \{!cache=false} local param for enclosing 
queries

I'm fine with it and patches are welcome. 


was (Author: mkhludnev):
Ok. It seems like the plan is to
 # create \{!cache} query parser to hook it up by existing DSL. Caveat for 
users is loosing scoring. 
 # enable cache by default for \{!bool filter=... filter=..}
 # make sure that it sensitive for \{!cache=false} local param for enclosing 
queries

I'm fine with it and patches are welcome. 

> Query DSL should let to cache filter
> ------------------------------------
>
>                 Key: SOLR-13808
>                 URL: https://issues.apache.org/jira/browse/SOLR-13808
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Mikhail Khludnev
>            Priority: Major
>
> Query DSL let to express Lucene BQ's filter
>  
> {code:java}
> { query: {bool: { filter: {term: {f:name,query:"foo bar"}}} }}{code}
> However, it might easily catch the need in caching it in filter cache. This 
> might rely on ExtensibleQuery and QParser: 
> {code:java}
> { query: {bool: { filter: {term: {f:name,query:"foo bar", cache:true}}} }}
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to