lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4762) Improve Facet examples
Date Sun, 10 Feb 2013 11:43:12 GMT

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

Shai Erera updated LUCENE-4762:
-------------------------------

    Attachment: LUCENE-4762.patch

Patch replaces all examples by simpler versions. There are no sub-packages anymore for each
example, but a straight and simple class (and matching test).
                
> 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
>         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


Mime
View raw message