[
https://issues.apache.org/jira/browse/SOLR-4701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Linbin Chen updated SOLR-4701:
------------------------------
Description:
not use query cache example:
* {code}fq={!cf name=in}status:(-1, 2){code}
* {code}fq={!cf name=in not=true}status:(3,4){code}
* {code}fq={!cf name=range}price:[100 TO 500]{code}
* {code}fq={!cf name=range}log(page_view):[50 TO 120]{code}
in operate like sql in, faster then OR boolean query.
most of the case, range faster then TrieField in lucene query.
how to do use:
solrconfig.xml add
{code:xml}
<queryParser name="cf" class="solr.CollectorFilterQParserPlugin"/>
{code}
was:
not use query cache example:
* fq={!cf name=in}status:(-1, 2)
* fq={!cf name=in not=true}status:(3,4)
* fq={!cf name=range}price:[100 TO 500]
* fq={!cf name=range}log(page_view):[50 TO 120]
in operate like sql in, faster then OR boolean query.
most of the case, range faster then TrieField in lucene query.
how to do use:
solrconfig.xml add
{code:xml}
<queryParser name="cf" class="solr.CollectorFilterQParserPlugin"/>
{code}
> CollectorFilterQParserPlugin support Filter Collector at search with
> PostFilter
> -------------------------------------------------------------------------------
>
> Key: SOLR-4701
> URL: https://issues.apache.org/jira/browse/SOLR-4701
> Project: Solr
> Issue Type: New Feature
> Components: search
> Affects Versions: 4.2
> Reporter: Linbin Chen
> Fix For: 4.3
>
> Attachments: SOLR-4701.patch
>
>
> not use query cache example:
> * {code}fq={!cf name=in}status:(-1, 2){code}
> * {code}fq={!cf name=in not=true}status:(3,4){code}
> * {code}fq={!cf name=range}price:[100 TO 500]{code}
> * {code}fq={!cf name=range}log(page_view):[50 TO 120]{code}
> in operate like sql in, faster then OR boolean query.
> most of the case, range faster then TrieField in lucene query.
> how to do use:
> solrconfig.xml add
> {code:xml}
> <queryParser name="cf" class="solr.CollectorFilterQParserPlugin"/>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]