Why not group by cid using the grouping component, within the group sort by version descending and return 1 result per group.
http://wiki.apache.org/solr/FieldCollapsing Cheers Amit On Fri, Nov 9, 2012 at 2:56 PM, dm_tim <dm_...@yahoo.com> wrote: > I think I may have found my answer buy I'd like additional validation: > I believe that I can add a function to my query to get only the highest > values of 'file_version' like this - > _val_:"max(file_version, 1)" > > I seem to be getting the results I want. Does this look correct? > > Regards, > > Tim > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/4-0-query-question-tp4019397p4019426.html > Sent from the Solr - User mailing list archive at Nabble.com. >