lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-2040) PhraseQuery weight uses IDFExplanation.getIdf() method instead of Similarity.idf() directly
Date Fri, 06 Nov 2009 21:56:32 GMT

     [ 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


Mime
View raw message