You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2013/02/08 16:55:12 UTC

[jira] [Commented] (LUCENE-4762) Improve Facet examples

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

Michael McCandless commented on LUCENE-4762:
--------------------------------------------

+1, the simpler the better.

I created TestDemoFacets for this reason!
                
> Improve Facet examples
> ----------------------
>
>                 Key: LUCENE-4762
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4762
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/facet
>            Reporter: Shai Erera
>
> Facet examples need some simplification and cleanup. For instance, MultiCLExample uses a Random (with fixed seed) to generate documents and categories and in general they seem to try an reuse a lot of methods.
> Rather, I think the example code should be concise and short, demonstrating what it needs to demonstrate, even at the expense of duplicating code. That way, a user can just look at an example class to understand how to do something...

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org