Hi. I've read a few things about paging functionality for the searcher. I have already rolled my own in the meantime for batching and paging but still wondering if this functionality already exists somewhere that I am just unaware of. I am providing a start position and calculating an end position for xrange based on hits.length() to keep the end position within the range of results. In any case, I read:

Hits hits = searcher.search(query, new PageFilter(1,20));

In another, this version:

hits = searcher.search(query, 0, 10);

I could not locate a PageFilter method in the java docs and the second method throws an exception.

Regards,
David
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to