[
https://issues.apache.org/jira/browse/LUCENE-2879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir resolved LUCENE-2879.
---------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.9.5)
(was: 3.0.4)
Committed revision 1062633 (trunk), 1062636 (branch_3x).
If we do another 3.0.x/2.9.x we can consider this one then.
> 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: 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]