[Xapian-discuss] PostingSource::skip_to

Paul Rudin paul at rudin.co.uk
Fri Nov 21 07:14:15 GMT 2008


The documentation says that initially the PostingSource points to a
position *before* the first position.

The default skip_to() calls get_docid() before it calls next(). Is this
OK? If skip_to() is called immediately after construction or reset()
then get_docid() doesn't have anything sensible to return if it's before
the first position. Or perhaps I misunderstand something.

(Normally I'd ask Richard - but he's away.)




More information about the Xapian-discuss mailing list