You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexey Kozhemiakin (JIRA)" <ji...@apache.org> on 2015/02/26 16:04:06 UTC
[jira] [Created] (SOLR-7167) ANY operator synax - score only top
matching term
Alexey Kozhemiakin created SOLR-7167:
----------------------------------------
Summary: ANY operator synax - score only top matching term
Key: SOLR-7167
URL: https://issues.apache.org/jira/browse/SOLR-7167
Project: Solr
Issue Type: Improvement
Components: query parsers
Affects Versions: 5.0
Reporter: Alexey Kozhemiakin
When we query
(<term A> OR <term B> OR <term C> OR <term D>)
and in case a document contains 2 or more of these terms: only the highest scoring term should contribute to the final relevancy score; possibly lower scoring terms should be discarded from the scoring algorithm.
Ideally I'd like an operator like ANY:
(<term A> ANY <term B> ANY <term C> ANY <term D>)
that has the purpose: return documents, sorted by the score of the highest scoring term.
--
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