Hi, in my (test) setup I have 200K distinct documents with each document having 5 historical version of it (so in total there is 1M documents). In order to to retrieve the latest (or historical) version of the documents I'm using the grouping functionality:
id:[0 TO N]&group=true&group.field=objid&group.limit=1&group.sort=id desc In addition I need to provide faceted search: facet=on&facet.field=feature&facet.field=tag&facet.field=folder For faceted search to provide correct results I should add *group.truncate=true* to my query. But when I do so the query time increases significantly: from ~70ms without this option to ~1700ms with this option set to true. Am I doing something wrong? Is there another way of doing faceted search combined with result grouping? Regards, Dmitry -- View this message in context: http://lucene.472066.n3.nabble.com/Faceted-query-performance-problem-when-group-truncate-set-to-true-tp3389690p3389690.html Sent from the Solr - User mailing list archive at Nabble.com.