You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Nicholas Knize (JIRA)" <ji...@apache.org> on 2018/06/18 16:57:00 UTC

[jira] [Created] (LUCENE-8362) Add DocValue support for RangeFields

Nicholas Knize created LUCENE-8362:
--------------------------------------

             Summary: Add DocValue support for RangeFields 
                 Key: LUCENE-8362
                 URL: https://issues.apache.org/jira/browse/LUCENE-8362
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Nicholas Knize


I'm opening this issue to discuss adding DocValue support to {{\{Int|Long|Float|Double\}Range}} field types. Since existing numeric range fields already provide the methods for encoding ranges as a byte array I think this could be as simple as adding syntactic sugar to existing range fields that simply build an instance of {{BinaryDocValues}} using that same encoding. I'm envisioning something like {{doc.add(IntRange.newDocValuesField("intDV", 100)}} But I'd like to solicit other ideas or potential drawbacks to this approach.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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