[
https://issues.apache.org/jira/browse/SOLR-6600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15142519#comment-15142519
]
Jan Høydahl commented on SOLR-6600:
-----------------------------------
[~lezhao], please start a discussion in [email protected] (not to
hijack a 1,5 year old issue), describing your problem or use case in detail. If
the discussion concludes that there is no way to solve your need in Solr, then
you may file a new JIRA issue with suggestions on how to improve the situation.
> configurable relevance impact of phrases for edismax
> ----------------------------------------------------
>
> Key: SOLR-6600
> URL: https://issues.apache.org/jira/browse/SOLR-6600
> Project: Solr
> Issue Type: Improvement
> Components: query parsers
> Affects Versions: 4.9
> Reporter: Alexey Kozhemiakin
> Labels: edismax
>
> Currently solr has a tie breaker parameter which control how to aggregate
> relevance score for search hits.
> But score for fields (pf, pf2, pf3) are always summed up.
> The goal of the patch is to wrap phrase clauses into single dismax clause
> instead of multipe ones
> Before patch
> +(
> DisjunctionMaxQuery((Body:james | Title:james)~tie_breaker)
> DisjunctionMaxQuery((Body:kirk | Title:kirk)~tie_breaker))
> )
> DisjunctionMaxQuery((Body:"james kirk")~tie_breaker)
> DisjunctionMaxQuery((Title:"james kirk")~tie_breaker)
> after patch
> +(
> DisjunctionMaxQuery((Body:james | Title:james)~tie_breaker)
> DisjunctionMaxQuery((Body:kirk | Title:kirk)~tie_breaker))
> )
> DisjunctionMaxQuery((Body:"james kirk" | Title:"james kirk") ~tie_breaker)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]