lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Armintor (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-64) strict hierarchical facets
Date Wed, 10 Mar 2010 20:52:27 GMT

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

Benjamin Armintor updated SOLR-64:
----------------------------------

    Attachment: SOLR-64.patch

If token streams are being re-used, the token streams produced by the HierarchicalTokenFilterFactory
need to respond to being reset().

In particular, the StringBuilder it uses to build the facet values needs to be cleared on
reset.  I'm attaching a patch that resets the StringBuilder and the delegate TokenStream.
 It also includes some junit tests that cover a basic hierarchical facet search, and the handling
of facet.depth and facet.prefix.  It builds and tests against trunk rev 921562.  I think this
fixes the 1.4 issue.

> strict hierarchical facets
> --------------------------
>
>                 Key: SOLR-64
>                 URL: https://issues.apache.org/jira/browse/SOLR-64
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>            Reporter: Yonik Seeley
>             Fix For: 1.5
>
>         Attachments: SOLR-64.patch, SOLR-64.patch, SOLR-64.patch, SOLR-64.patch
>
>
> Strict Facet Hierarchies... each tag has at most one parent (a tree).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message