[Xapian-devel] C++ MatchDecider::operator() is const

Eric Sellin eric at rxl1.com
Wed Oct 1 15:47:54 BST 2008


> Wouldn't you need to guarantee the order in which documents are
> processed for this to work?

Yes, quite. So that's why it's const. Because documents are processed in
a random order, each document must be considered for inclusion on a
purely individual basis, otherwise we get random results.

Many thanks,
Eric.





More information about the Xapian-devel mailing list