[jira] [Commented] (SOLR-10320) Perform secondary sort using both values in and outside Solr index

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Commented] (SOLR-10320) Perform secondary sort using both values in and outside Solr index

JIRA jira@apache.org

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

Yuchuan Zhou commented on SOLR-10320:

I have custom code for my own need, and would like to make it as a Solr feature so everyone could use it.

I think Solr can provide public methods which take a map (field key->value) or a ordered list of values, and use these data to sort matched results. So Solr just provides a standard way to developers, reduce the custom code they need to write.

And for performance, nothing is free. Developers who use this feature need to know there will be extra overhead, from the external data service, and from sorting operations within Solr. For my case and probably many out there, we can live with this price.

> Perform secondary sort using both values in and outside Solr index
> ------------------------------------------------------------------
>                 Key: SOLR-10320
>                 URL: https://issues.apache.org/jira/browse/SOLR-10320
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public)
>            Reporter: Yuchuan Zhou
> There are some situations that we need to sort results based on values outside of Solr (say, from a separate datastore or a data analytics service that ranks entities based on analytic results). There is also the need to return results in a deterministic order but applying a dynamic chain of sorting and/or ranking algorithms to the result set. This chain would be processed as a secondary sort implementation, where ties returned from one sorting/ranking algorithm are passed to the next sorting/ranking algorithm in the chain until all ties are resolved, resulting in a deterministic result order. This chain should have the ability to apply sorting algorithms that use data found within the solr index as well as outside of the index.

This message was sent by Atlassian JIRA

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