On Jun 13, 2009, at 9:54 PM, Marvin Humphrey wrote:
On Sat, Jun 13, 2009 at 01:08:39PM -0700, [email protected]
wrote:
It never occurred to me that someone would return a new Tally()
on every scoring loop.
And I don’t know what (or whether) I was thinking when I wrote that.
FYI, I just today changed QueryParser's factory method names from e.g.
"make_termquery" to "make_term_query". (: Seems like the right move
since
you'd accidentally used the new spelling in your post. :) You'll
need to
change those in your QueryParser subclasses.
Strangely, make_termquery still works (rev. 4798) but make_term_query
causes a bus error. Having both present also causes the crash. (Try
the same script with that change.)
Also, Scorer has been replaced by Matcher and Compiler_Make_Scorer()
has been
replaced by Compiler_Make_Matcher(). I'd put some compatibility
stubs into KS
trunk specifically so that the WildCardQuery 0.03 distro would still
pass its
tests, but it turns out that you're going to need to release a new
version
anyway. Diff below.
Now you’re writing my code for me! That’s nice. Thank you. :-)
Father Chrysostomos