> 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.