Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4762

Improve Facet examples

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.2, 6.0
    • modules/facet
    • None
    • New, Patch Available

    Description

      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...

      Attachments

        1. LUCENE-4762.patch
          112 kB
          Shai Erera

        Activity

          People

            shaie Shai Erera
            shaie Shai Erera
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: