Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] Resolved: (LUCENE-2040) PhraseQuery weight uses IDFExplanation.getIdf() method instead of Similarity.idf() directly

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Nov 6, 2009, 1:56 PM

Post #1 of 1 (85 views)
Permalink
[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 [at] lucene
For additional commands, e-mail: java-dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.