lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Linbin Chen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-4701) CollectorFilterQParserPlugin support Filter Collector at search with PostFilter
Date Wed, 17 Apr 2013 05:23:16 GMT

     [ https://issues.apache.org/jira/browse/SOLR-4701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Linbin Chen updated SOLR-4701:
------------------------------

    Description: 
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}

cf not use query cache, use PostFilter fiter collector


  was:
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}


    
> 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
>
>
> 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}
> cf not use query cache, use PostFilter fiter collector

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message