Subject: RE: [htdig3-dev] htsearch rewrite
From: Quim Sanmarti (qss@gtd.es)
Date: Tue Sep 05 2000 - 02:33:53 PDT
> -----Mensaje original-----
> De: Geoff Hutchison [SMTP:ghutchis@wso.williams.edu]
> Enviado el: lunes 4 de septiembre de 2000 21:49
> ...Certainly if
> we make a flexible cache architecture, someone else could come in and
> code their hearts out. :-)
>
OK. What we should do then is to delegate caching to another class family,
say 'QueryCache'. Let's put there an abstract mother-of-all-the-caches with
virtual Lookup(signature) and Add(signature, result), and that's it.
Initially, I'll contribute with a VolatileCache derived from it :)
>
> Yes and no. It could be, but that's really slow. Since you know
> *everything* is going to match, why not just grab DocURLs() or
> DocIDs() up front? It's much faster than having to hit the word
> database at all.
>
I'm not sure I'm understanding that. The query evaluation system works with
word references. We won't be able to query things as 'title:*' or '* not
foo' if we haven't word matches to filter, just doc ids. Isn't that the
idea?
// Joaquim Sanmarti
// GTD Ingenieria de sistemas y software industrial, S.A.
// c/Rosa Sensat 9-11
// 08005 Barcelona SPAIN
// Tel. +34 93 225 77 00
// Fax. +34 93 225 77 08
// mailto:qss@gtd.es
// http://www.gtd.es
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev-unsubscribe@htdig.org
You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Tue Sep 05 2000 - 02:47:17 PDT