RE: CustomScoreQuery Explanation

2009-11-19 Thread Michael Garski
real quick. Michael Garski wrote: > > Will do, along with a patch. > > > > Michael > > > > *From:* Simon Willnauer [mailto:simon.willna...@googlemail.com] > *Sent:* Thursday, November 19, 2009 4:47 PM > *To:* java-dev@lucene.apache.org > *Subject:* Re: C

RE: CustomScoreQuery Explanation

2009-11-19 Thread Michael Garski
n you create an issue in jira please? Simon On Nov 20, 2009 1:30 AM, "Michael Garski" wrote: Hi there – I’m helping out with the Lucene.Net port of 2.9, and when rooting around in CustomScoreQuery.CustomWeight, I noticed what appears to be an unne

CustomScoreQuery Explanation

2009-11-19 Thread Michael Garski
der, int doc) throws IOException { Explanation explain = doExplain(reader, doc); return explain == null ? new Explanation(0.0f, "no matching docs") : explain); } I might be overlooking something, but it appears to be two calls to doExplain when only one would suffice.