You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2009/11/06 22:56:32 UTC
[jira] Resolved: (LUCENE-2040) PhraseQuery weight uses
IDFExplanation.getIdf() method instead of Similarity.idf() directly
[ https://issues.apache.org/jira/browse/LUCENE-2040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Schindler resolved LUCENE-2040.
-----------------------------------
Resolution: Won't Fix
I looked into this: In 2.9.0 it was using the idf(Collection<Term>, Searcher) method, but this was deprecated (don't know why!). The correct way is now to override idfExplain to change scoring for phrase queries (even it does some unneeded work like filling a StringBuilder with explanations).
> PhraseQuery weight uses IDFExplanation.getIdf() method instead of Similarity.idf() directly
> -------------------------------------------------------------------------------------------
>
> Key: LUCENE-2040
> URL: https://issues.apache.org/jira/browse/LUCENE-2040
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Examples
> Reporter: Andi Vajda
> Assignee: Uwe Schindler
> Priority: Minor
>
> It should use Similarity's idf() method instead.
--
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org