[
https://issues.apache.org/jira/browse/SOLR-7167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14339936#comment-14339936
]
Adam Glinianowicz edited comment on SOLR-7167 at 2/27/15 9:47 AM:
------------------------------------------------------------------
Attached our initial version of the working ANY operator support for edismax
([^EPMCSRCH-269.patch]) - this is a proof-of-concept version which might break
the other parsers. We have it also in a form of external jar with edismaxplus
parser plugin (in a form metioned by Alexey in the first post - which for
maintainability reasons requires introducing some extension points in the
edismax source).
was (Author: calph):
Attached our initial version of the working ANY operator support for edismax.
> 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
> Attachments: EPMCSRCH-269.patch
>
>
> 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]