You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Colin Goodheart-Smithe (JIRA)" <ji...@apache.org> on 2019/05/17 11:19:00 UTC
[jira] [Commented] (LUCENE-8803) Provide a FieldComparator to allow
sorting by a feature from a FeatureField
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org