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

Need SortedNumerics/Points version of EnumField

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0, 7.1, master (8.0)
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)

      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
          Steve Rowe
        2. SOLR-11023.patch
          88 kB
          Steve Rowe
        3. SOLR-11023.patch
          74 kB
          Steve Rowe
        4. SOLR-11023.patch
          60 kB
          Steve Rowe
        5. SOLR-11023.patch
          49 kB
          Hoss Man
        6. SOLR-11023.patch
          15 kB
          Hoss Man

          Issue Links

            Activity

              People

              • Assignee:
                steve_rowe Steve Rowe
                Reporter:
                hossman Hoss Man
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: