[
https://issues.apache.org/jira/browse/LUCENE-8815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16860021#comment-16860021
]
ASF subversion and git services commented on LUCENE-8815:
---------------------------------------------------------
Commit 2d00d17dc461a13b1aafe778e29678144b65be9e in lucene-solr's branch
refs/heads/branch_8x from Colin Goodheart-Smithe
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=2d00d17 ]
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]