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

Reply via email to