You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Joel Bernstein (JIRA)" <ji...@apache.org> on 2016/08/10 00:40:20 UTC

[jira] [Updated] (SOLR-9403) Add classify() function query for use with re-ranking

     [ https://issues.apache.org/jira/browse/SOLR-9403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joel Bernstein updated SOLR-9403:
---------------------------------
    Description: 
Now that SOLR-9252 is committed it would be useful to deploy a classifier during re-ranking. 

The classify function query will retrieve a model from a SolrCloud collection and run the model on documents. The function will return the score from the model. When used with the re-ranker this will re-rank the top N documents by the score from the model.

The classify function can be used with the re-ranker using the function qparser plugin.

The suggested syntax:
{code}
rq={!rerank reRankQuery=$rqq reRankDocs=20}&rqq={!func}classify(collection, modelID, textField)
{code}



  was:
Now that SOLR-9252 is committed it would be useful to deploy a classifier during re-ranking. 

The classify function query will retrieve a model from a SolrCloud collection and run the model on documents. The function will return the score from the model. When used with the re-ranker this will re-rank the top N documents by the score from the model.

The classify function can be used with the re-ranker using the function qparser plugin.

The suggested syntax:

rq={!rerank reRankQuery=$rqq reRankDocs=20}&rqq={!func}classify(collection, modelID, textField)





> Add classify() function query for use with re-ranking
> -----------------------------------------------------
>
>                 Key: SOLR-9403
>                 URL: https://issues.apache.org/jira/browse/SOLR-9403
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Joel Bernstein
>
> Now that SOLR-9252 is committed it would be useful to deploy a classifier during re-ranking. 
> The classify function query will retrieve a model from a SolrCloud collection and run the model on documents. The function will return the score from the model. When used with the re-ranker this will re-rank the top N documents by the score from the model.
> The classify function can be used with the re-ranker using the function qparser plugin.
> The suggested syntax:
> {code}
> rq={!rerank reRankQuery=$rqq reRankDocs=20}&rqq={!func}classify(collection, modelID, textField)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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