You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2011/06/20 10:53:47 UTC

[jira] [Commented] (SOLR-2533) Improve API of ValueSource & FunctionQuery SortField weighting

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

Simon Willnauer commented on SOLR-2533:
---------------------------------------

there seems to be a problem with the CHANGES.txt changes in your patch. Intuitively I would say this needs to go into solr/CHANGES.TXT and it should not remove an existing entry no?


> Improve API of ValueSource & FunctionQuery SortField weighting
> --------------------------------------------------------------
>
>                 Key: SOLR-2533
>                 URL: https://issues.apache.org/jira/browse/SOLR-2533
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>            Reporter: Chris Male
>            Assignee: Chris Male
>         Attachments: SOLR-2533.patch, SOLR-2533.patch, SOLR-2533.patch, SOLR-2533.patch
>
>
> Started from LUCENE-2883: Support for sorting by ValueSource and FunctionQueries is done through ValueSource#getSort and the ValueSourceSortField.  In order to support VSs containing other Queries, its necessary to allow the Querys to be weighted by an IndexSearcher.  Currently this is handled by having ValueSourceSortField implement SolrSortField.  In Solr's SolrIndexSearcher, SortFields implementing SolrSortField are then weighted before the Sort is used.
> Sorting by FunctionQuery and ValueSource are invaluable and will become available to all Lucene users in LUCENE-2883.  But in order to do so, we need to remove the coupling of this functionality to Solr, and make it more standard.
> Any and all thoughts about how to do this are appreciated.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org