Oooh, that's clever.... The glitch is that field collapsing is scheduled for 3.2, but that probably means the patch is close to being applicable to 3.1 but I don't know that for sure.
Erick On Thu, May 19, 2011 at 10:36 AM, kenf_nc <ken.fos...@realestate.com> wrote: > This is more a speculation than direction, I don't currently use Field > Collapsing but my take on it is that it returns the number of docs > collapsed. So instead of faceting could you do a search returning DocID, > collapsing on DocID sorting on date, then the count of collapsed docs > *should* match the facet count? > > Just wondering. > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/sorting-on-date-field-in-facet-query-tp2956540p2961612.html > Sent from the Solr - User mailing list archive at Nabble.com. >