[ https://issues.apache.org/jira/browse/LUCENE-1837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Miller updated LUCENE-1837: -------------------------------- Attachment: LUCENE-1837.patch Okay, very rough patch. No concern for back compat or anything. Added: place holder class {code} public static abstract class SimExplain { abstract float getIdf(); abstract String explain(); } {code} {code} public SimExplain idfExplain(Term term, Searcher searcher) throws IOException { {code} {code} public SimExplain idfExplain(Collection terms, Searcher searcher) throws IOException{code} Removed Searcher from explain method. So I think this is the right path - still a few issues to jump through though, and still some ugliness I've left in. > Remove Searcher from explain and idf/maxDoc info from explain > ------------------------------------------------------------- > > Key: LUCENE-1837 > URL: https://issues.apache.org/jira/browse/LUCENE-1837 > Project: Lucene - Java > Issue Type: Bug > Reporter: Mark Miller > Assignee: Mark Miller > Fix For: 2.9 > > Attachments: LUCENE-1837.patch > > > these changes (starting with the TermWeight idf/maxDoc info) were illegal IMO > - I think they need to be rolled back/out. -- 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