Thanks. I do not mind the first or the last document. Most importantly, that in filtered documents there were no duplicates for a given field (in fact I need to group the filtered results to the specified field). Trying to use PerParentLimitingQuery and NestedDocumentQuery.
--------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org