[jira] [Commented] (LUCENE-4841) Add SortedSetDocValuesFacetField example to SimpleFacetsExample

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (LUCENE-4841) Add SortedSetDocValuesFacetField example to SimpleFacetsExample

JIRA jira@apache.org

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

Shai Erera commented on LUCENE-4841:

Few comments:

* Can you add a matching test case to demo/tests? See below, these tests are important to ensure the example code works!
* Did you manage to run it without getting an exception? I.e. you add "Publish Date/2010/10/15", which SSDVFF should reject because it's hierarchical?
* Also, main() points to SimpleFacetsExample().runSearch() and runDrillDown(). Hmm, maybe that's why you didn't trip on the hierarchy thing?

TestSimpleFacetsExample is your friend :).

> Add SortedSetDocValuesFacetField example to SimpleFacetsExample
> ---------------------------------------------------------------
>                 Key: LUCENE-4841
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4841
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>             Fix For: 5.0, 4.3
>         Attachments: LUCENE-4841.patch

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: [hidden email]
For additional commands, e-mail: [hidden email]