Hi, I'm not sure where bug reports for sandbox code should go, please direct me to a more appropriate place if it exists.
When running queries over spi-rmi, the returned size for child node info and query row iterators is always -1. This doesn't matter too much for the child node infos, as the only place that it is used iterates over all nodes anyway. However, for a query it would be nice to know how many results there are; the approximation that lazy iterators make is fine. The problem appears to be the use of the IteratorHelper in ServerQueryInfo. Since it is not a range iterator, the wrapping ServerIterator cannot retrieve the number of results. I suggest to replace the helper by a RangeIteratorDecorator from jcr-commons. thanks, Frank
