[
https://issues.apache.org/jira/browse/SOLR-7167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14338662#comment-14338662
]
Alexey Kozhemiakin edited comment on SOLR-7167 at 2/26/15 4:38 PM:
-------------------------------------------------------------------
Mikhail, it's not about term frequency or performance, it's about relevancy and
about avoid over-boosting of documents if several synonyms matched the query.
for example if we had synonyms for TV: {television, tvset, youtube, player},
only top-scoring synonym should affect scoring (it's how our users create
synonym dicitonaries).
Actually ANY is an operator from FAST from which a transition is happening and
it's pain without it.
was (Author: alexey_kozhemiakin):
Mikhail, it's not about term frequency or performance, it's about relevancy and
about avoid over-boosting of documents if several synonyms matched the query.
> 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: [email protected]
For additional commands, e-mail: [email protected]