termlist_begin ordering in older versions

Olly Betts olly at survex.com
Fri Dec 1 18:48:44 GMT 2023


On Fri, Dec 01, 2023 at 11:26:34AM +0000, Eric Wong wrote:
> Hey, I noticed commit 145503bbe4a5bf702cd13cb2e592111e8d7ca89a
> (Reimplement Database and WritableDatabase, 2017-10-05) added
> the phrase:
> 
>   "The terms are returned ascending string order (by byte value)"
> 
> for termlist_begin.  Is that also true for the 1.4 (or even 1.2) series?

It's always been true - this is just better documented now.

I've copied that note over to the 1.4 branch.

> Also, is allterms_begin also the same w.r.t. ordering?

Yes.  I've added that note there too.

Cheers,
    Olly



More information about the Xapian-discuss mailing list