On Fri, 18 Jan 2002, Gilles Detillieux wrote:

> docIDs.  Wouldn't it be much quicker to get them from the db.docs.index,
> which is keyed by docID in 3.1?  It's a smaller database, and you'd just
> need to traverse the "cursor" part of it to get the list of keys.

Sure--this was my plan. However, the DocumentDB "holds" both databases. So
either way, you're writing a new method to DocumentDB.

> it, the parser already does some "config" lookups, and I was going to
> add a lookup for prefix_match_character anyway, so why not just lookup
> doc_index too and forget adding extra stuff to pass.

Ah, I see what you're saying. That works. I was imagining passing around a
List of all the DocIDs to/from DocumentDB and potentially via
htsearch/main.cc to get it through the parser. (Which is why I thought it
was a bad idea.)

Doing a quick Database lookup inside of parser.cc to get the DocIDs out of
the index is probably the best solution.

-Geoff


_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to