lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5474) Add example for retrieving facet counts without retrieving documents
Date Sun, 02 Mar 2014 11:46:20 GMT

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

ASF subversion and git services commented on LUCENE-5474:
---------------------------------------------------------

Commit 1573289 from [~shaie] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1573289 ]

LUCENE-5474: Add example for retrieving facet counts without retrieving documents

> Add example for retrieving facet counts without retrieving documents
> --------------------------------------------------------------------
>
>                 Key: LUCENE-5474
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5474
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/facet
>    Affects Versions: 4.7
>            Reporter: Rob Audenaerde
>         Attachments: FacetOnlyExample.java, LUCENE-5474.patch, SimpleFacetsExample.java
>
>
> In the examples of facetting the {{FacetsCollector.search()}} is used. There are use
cases where you do not need the documents that match the search. 
> It would be nice if there is an example showing this.
> Basically, it comes down to using {{searcher.search(query, null /* Filter */, facetCollector)}}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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


Mime
View raw message