[Xapian-devel] FASTER Search
林德
leedeetiger at gmail.com
Tue Feb 5 01:35:11 GMT 2013
> One option here is to simply set Xapian's document id to this "reid".
> Depending on the order in which the reids are encountered during
> indexing, this may be slower to index, but it will save time when
> searching - probably a lot if you're asking for a lot of results.
>
> You can get an idea of how much difference this would make by calling
> i.get_docid() instead of the first two lines in this loop and timing
> that.
calling i.get_docid() will help a lot!
I will try to index for making reids = docid all the time.
Best,
De Lin
More information about the Xapian-devel
mailing list