> -----Mensaje original-----
> De:   Geoff Hutchison [SMTP:[EMAIL PROTECTED]]
> 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:[EMAIL PROTECTED]
//    http://www.gtd.es



------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 


Reply via email to