You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/08/07 18:14:48 UTC

[jira] [Commented] (SOLR-7219) Access filter cache from lucene query syntax

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

ASF subversion and git services commented on SOLR-7219:
-------------------------------------------------------

Commit 1694708 from [~yonik@apache.org] in branch 'dev/trunk'
[ https://svn.apache.org/r1694708 ]

SOLR-7219: add filter() to query syntax

> Access filter cache from lucene query syntax
> --------------------------------------------
>
>                 Key: SOLR-7219
>                 URL: https://issues.apache.org/jira/browse/SOLR-7219
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>         Attachments: SOLR-7219.patch
>
>
> A filter query retrieves a set of documents matching a query from the filter cache. Since scores are not cached, all documents that match the filter produce the same score. Cached filters will be extremely fast when they are used again in another query.
> Filter Query Example:
> {code}
> description:HDTV OR filter(+promotion:tv +promotion_date:[NOW/DAY-7DAYS TO NOW/DAY+1DAY])
> {code}
> The power of the filter() syntax is that it may be used anywhere within a lucene/solr query syntax. Normal fq support is limited to top-level conjunctions. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org