[ 
https://issues.apache.org/jira/browse/LUCENE-8815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16859768#comment-16859768
 ] 

ASF subversion and git services commented on LUCENE-8815:
---------------------------------------------------------

Commit 5ef2b3f6b87671769dba61f67c80b410a54b6004 in lucene-solr's branch 
refs/heads/master from Colin Goodheart-Smithe
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=5ef2b3f ]

LUCENE-8815: Adds a DoubleValues implementation for feature fields (#687)

This change adds a static method FeatureField#newDoubleValues() which can be 
used to retrieved the values of a feature for documents directly rathert than 
having to store the values in a numeric field alongsidde the feature field.

> Enable retrieving of feature values through a DoubleValues implementation
> -------------------------------------------------------------------------
>
>                 Key: LUCENE-8815
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8815
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Colin Goodheart-Smithe
>            Priority: Major
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Currently getting the values of a feature in a feature field requires another 
> numeric field to be indexed containing the values. It would be useful to be 
> able to obtain the indexed values of features from the feature field directly 
> using a `DoubleValues` implementation. 
> The feature sort implemented in 
> https://issues.apache.org/jira/browse/LUCENE-8803 could also be moved to 
> using this `DoubleValue` implementation to avoid duplicating logic.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to