rnewson commented on issue #5623: URL: https://github.com/apache/couchdb/issues/5623#issuecomment-3205657288
I can confirm that "top" here means "top count". Reading the implementation of getTopChildren it uses https://lucene.apache.org/core/10_2_2/facet/org/apache/lucene/facet/TopOrdAndIntQueue.html and passes in the counts of the facets collected, keeping up to `topN` of the children with the highest count. Note that this is still the counts of things that matched your query. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org