Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11023

Need SortedNumerics/Points version of EnumField

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 7.0, 7.1, 8.0
    • None

    Description

      although it's not a subclass of TrieField, EnumField does use "LegacyIntField" to index the int value associated with each of the enum values, in addition to using SortedSetDocValuesField when docValues="true" multivalued="true".

      I have no idea if Points would be better/worse then Terms for low cardinality usecases like EnumField, but either way we should think about a new variant of EnumField that doesn't depend on LegacyIntField/LegacyNumericUtils.intToPrefixCoded and uses SortedNumericDocValues.

      Attachments

        1. SOLR-11023.patch
          88 kB
          Steven Rowe
        2. SOLR-11023.patch
          88 kB
          Steven Rowe
        3. SOLR-11023.patch
          74 kB
          Steven Rowe
        4. SOLR-11023.patch
          60 kB
          Steven Rowe
        5. SOLR-11023.patch
          49 kB
          Chris M. Hostetter
        6. SOLR-11023.patch
          15 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              sarowe Steven Rowe
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: