[
https://issues.apache.org/jira/browse/LUCENE-2879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985343#action_12985343
]
Robert Muir commented on LUCENE-2879:
-------------------------------------
Well its not a great solution really at all, and as you mention
maybe its best to take care of it in the context of LUCENE-2878,
but mainly I just didn't want us to forget about the problem.
I'll move forward with this issue later today if there are no objections.
> MultiPhraseQuery sums its own idf instead of Similarity.
> --------------------------------------------------------
>
> Key: LUCENE-2879
> URL: https://issues.apache.org/jira/browse/LUCENE-2879
> Project: Lucene - Java
> Issue Type: Bug
> Components: Query/Scoring
> Reporter: Robert Muir
> Assignee: Robert Muir
> Fix For: 2.9.5, 3.0.4, 3.1, 4.0
>
> Attachments: LUCENE-2879.patch
>
>
> MultiPhraseQuery is a generalized version of PhraseQuery, and computes IDF
> the same way by default (by summing across the terms).
> The problem is it doesn't let the Similarity do this: PhraseQuery calls
> Similarity.idfExplain(Collection<Term> terms, IndexSearcher searcher),
> but MultiPhraseQuery just sums itself, calling Similarity.idf(int, int) for
> each term.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]