lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <>
Subject [jira] [Updated] (SOLR-11023) Need SortedNumerics/Points version of EnumField
Date Thu, 03 Aug 2017 18:53:01 GMT


Steve Rowe updated SOLR-11023:
    Attachment: SOLR-11023.patch

WIP patch, hopefully code complete, more testing needed (described by Hoss'ss nocommits in

Changes from Hoss'ss patch: Most nocommits are resolved.  I renamed HuperDuperEnumField to
EnumFieldType. I decided not to support uninversion in EnumFieldType (I couldn't figure out
how to make it work), and also to require docValues, since I think it would be a trap to allow
a situation where sorting isn't supported over a field that claims to support arbitrary sorting
over the enum values.  I've added a test to throw an exception when docvalues aren't enabled
for an EnumFieldType field.

> Need SortedNumerics/Points version of EnumField
> -----------------------------------------------
>                 Key: SOLR-11023
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Hoss Man
>            Assignee: Steve Rowe
>            Priority: Blocker
>              Labels: numeric-tries-to-points
>             Fix For: 7.0
>         Attachments: SOLR-11023.patch, SOLR-11023.patch, SOLR-11023.patch
> 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.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message