[
https://issues.apache.org/jira/browse/LUCENE-8803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16842102#comment-16842102
]
Colin Goodheart-Smithe commented on LUCENE-8803:
------------------------------------------------
I opened a PR here: [https://github.com/apache/lucene-solr/pull/680]
I followed the tests that are used for the other sorts (numeric, string, etc.)
but if it would be preferred to add different tests I can add this to the PR
> Provide a FieldComparator to allow sorting by a feature from a FeatureField
> ---------------------------------------------------------------------------
>
> Key: LUCENE-8803
> URL: https://issues.apache.org/jira/browse/LUCENE-8803
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Colin Goodheart-Smithe
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> It would be useful to be able to sort search hits by the value of a feature
> from a feature field (e.g. pagerank). A FieldComparatorSource implementation
> that enables this would create a convenient generic way to sort using values
> from feature fields.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]