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

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

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

Shai Erera resolved LUCENE-4762.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.2
         Assignee: Shai Erera
    Lucene Fields: New,Patch Available  (was: New)

Committed to trunk and 4x.
                
> 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
>            Assignee: Shai Erera
>             Fix For: 4.2, 5.0
>
>         Attachments: LUCENE-4762.patch
>
>
> 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