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

Toke Eskildsen commented on SOLR-2412:
--------------------------------------

SOLR-2412 is not feature complete with standard Solr faceting. prefix is one of 
the things missing, so you will have to emulate it with a standard filter for 
path_ss:L0_T1/L1_T1. This will of course affect your overall search result, 
which might be undesirable.

The count is not for the number of documents, but for the number of tags at the 
given level (thinking about it, this seems to be a problem). If a document has 
"foo/bar" and "foo/baz", and the search only hits that document, the count for 
level 0 will be 2. If there are only a single path per document, the count 
should match the number of documents.

> Multipath hierarchical faceting
> -------------------------------
>
>                 Key: SOLR-2412
>                 URL: https://issues.apache.org/jira/browse/SOLR-2412
>             Project: Solr
>          Issue Type: New Feature
>          Components: SearchComponents - other
>    Affects Versions: 4.0
>         Environment: Fast IO when huge hierarchies are used
>            Reporter: Toke Eskildsen
>              Labels: contrib, patch
>         Attachments: SOLR-2412.patch, SOLR-2412.patch, SOLR-2412.patch, 
> SOLR-2412.patch, SOLR-2412.patch, SOLR-2412.patch, SOLR-2412.patch
>
>
> Hierarchical faceting with slow startup, low memory overhead and fast 
> response. Distinguishing features as compared to SOLR-64 and SOLR-792 are
>   * Multiple paths per document
>   * Query-time analysis of the facet-field; no special requirements for 
> indexing besides retaining separator characters in the terms used for faceting
>   * Optional custom sorting of tag values
>   * Recursive counting of references to tags at all levels of the output
> This is a shell around LUCENE-2369, making it work with the Solr API. The 
> underlying principle is to reference terms by their ordinals and create an 
> index wide documents to tags map, augmented with a compressed representation 
> of hierarchical levels.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to