[ https://issues.apache.org/jira/browse/LUCENE-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Miller updated LUCENE-1847: -------------------------------- Attachment: LUCENE-1847.patch rough draft - works as the fix, but could use some polish. And what to do about back compat - because its just explain output, I don't think its a huge deal, but if you overrode idf(Collection terms, Searcher searcher) or idf(Term term, Searcher searcher) on Sim, right now they wouldn't be called for TermQuery and PhraseQuery. An override of float idf(int docFreq, int numDocs) would still be taken into account though. > PhraseQuery/TermQuery use IndexReader specific stats in their explains > ---------------------------------------------------------------------- > > Key: LUCENE-1847 > URL: https://issues.apache.org/jira/browse/LUCENE-1847 > Project: Lucene - Java > Issue Type: Bug > Reporter: Mark Miller > Assignee: Mark Miller > Priority: Minor > Fix For: 2.9 > > Attachments: LUCENE-1847.patch > > > PhraseQuery uses IndexReader in explainfor top level stats - as mentioned by > Mike McCandless in LUCENE-1837. > TermQuery uses IndexReader in explain for top level stats > Always been a bug with MultiSearcher, but per segment search makes it worse. -- 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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org