lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elran Dvir (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-5084) new field type - EnumField
Date Sun, 28 Jul 2013 15:57:50 GMT
Elran Dvir created SOLR-5084:
--------------------------------

             Summary: new field type - EnumField
                 Key: SOLR-5084
                 URL: https://issues.apache.org/jira/browse/SOLR-5084
             Project: Solr
          Issue Type: New Feature
            Reporter: Elran Dvir


We have encountered a use case in our system where we have a few fields (Severity. Risk etc)
with a closed set of values, where the sort order for these values is pre-determined but not
lexicographic (Critical is higher than High). Generically this is very close to how enums
work.

To implement, I have prototyped a new type of field: EnumField where the inputs are a closed
predefined  set of strings in a special configuration file (similar to currency.xml).

The code is based on 4.2.1.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message