[KinoSearch] Weight requires a Similarity
Nathan Kurz
nate at verse.com
Mon Mar 3 15:49:58 PST 2008
On 3/1/08, Marvin Humphrey <marvin at rectangular.com> wrote:
> I think Nathan will argue that Schema::fetch_sim should be renamed to
> Schema::fetch_similarity() before it goes public. If he does, he's
> probably right. :)
Well, depending on how curmudgeonly-versus-practical I'm being, I'd
probably argue that the whole concept of a 'Similarity' object is
specific to the TF/IDF scheme, and that while you are at it you should
get rid of 'Weight' as well. But I appreciate the sentiment, and am
glad you changed to Scorer::get_doc_num.
I like that you've internalized my objections, since I've been too
busy to closely read the list just lately. For the benefit of the
archive, it might be good to have 'my' objections in print. If it
would help, I can give you access to my email account so you can write
them yourself. :)
If I could have a word with the homunculus of me, though, I'd
encourage it to have you write up a high level architecture document
describing the life cycle of a query. If I were to have a further
word with it, I'd encourage it to keep nagging you until that
architecture has been simplified to fit on one side of a 3"x5" card
without omitting any essential components!
Nathan Kurz
nate at verse.com
More information about the KinoSearch
mailing list