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

OrdinalPolicy and PathPolicy should be per-CategoryListParams

    XMLWordPrintableJSON

Details

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

    Description

      Today these two are per FacetIndexingParams, which means that once defined, they affect all category lists. This prevents for example to index one category list with OrdinalPolicy.NO_PARENTS and another with OrdinalPolicy.ALL_PARENTS. Especially now that we know NO_PARENTS is faster (see LUCENE-4600), it will be good if users can control this setting per CategoryListParams, and index only the few facets which a document has more than once (e.g. Author) in a separate category list.

      Attachments

        1. LUCENE-4700.patch
          38 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: