Re: MoreLikeThis Query generator - Re: code for more like this query expansion - was - Re: setMaxClauseCount ??

2004-02-25 Thread Bruce Ritchie
David Spencer wrote: Code rewritten, automagically chooses lots of defaults, lets you override the defs thru the static vars at the bottom or the non-static vars also at the bottom. I've taken the liberty to update this code to handle multiple fields and use the new term vector support in CVS

Re: MoreLikeThis Query generator - Re: code for more like this query expansion - was - Re: setMaxClauseCount ??

2004-02-25 Thread David Spencer
Bruce Ritchie wrote: David Spencer wrote: Code rewritten, automagically chooses lots of defaults, lets you override the defs thru the static vars at the bottom or the non-static vars also at the bottom. I've taken the liberty to update this code to handle multiple fields and use the new

Re: MoreLikeThis Query generator - Re: code for more like this query expansion - was - Re: setMaxClauseCount ??

2004-02-18 Thread David Spencer
Doug Cutting wrote: David Spencer wrote: Code rewritten, automagically chooses lots of defaults, lets you override the defs thru the static vars at the bottom or the non-static vars also at the bottom. Has anyone used this? Was it useful? I've put it up on my demo site (rfc::search) in

Re: MoreLikeThis Query generator - Re: code for more like this query expansion - was - Re: setMaxClauseCount ??

2004-02-18 Thread Bruce Ritchie
David Spencer wrote: [c] interesting words - uses code from MoreLikeThis to give a table of all interesting words in the current source doc ordered by score. Remember score is idf*tf as per Dougs mail (and as per my hopefully correct understanding of these things). This page is of course more

Re: MoreLikeThis Query generator - Re: code for more like this query expansion - was - Re: setMaxClauseCount ??

2004-02-18 Thread Bruce Ritchie
David Spencer wrote: I'd appreciate if someone could proofread MoreLikeThis.like(Reader) and mlt(Reader). At a glance it seems to return reasonable results on my site. One thing that I would find extremely useful is updating the code to handle multiple fields since many (most?) indexes do not

Re: MoreLikeThis Query generator - Re: code for more like this query expansion - was - Re: setMaxClauseCount ??

2004-02-18 Thread David Spencer
Bruce Ritchie wrote: David Spencer wrote: [c] interesting words - uses code from MoreLikeThis to give a table of all interesting words in the current source doc ordered by score. Remember score is idf*tf as per Dougs mail (and as per my hopefully correct understanding of these things). This

Re: MoreLikeThis Query generator - Re: code for more like this query expansion - was - Re: setMaxClauseCount ??

2004-02-17 Thread Doug Cutting
David Spencer wrote: Code rewritten, automagically chooses lots of defaults, lets you override the defs thru the static vars at the bottom or the non-static vars also at the bottom. Has anyone used this? Was it useful? Should we add it to the sandbox? Doug