You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Dmitry Kan <dm...@gmail.com> on 2011/07/08 21:40:55 UTC

Re: sorting on date field in facet query

Wanted to say thanks to everyone contributed: Erick, Stefan, kenf_nc.
Erick a solution based on your proposition has been implemented and
pushed to users. Thanks!

Best

On 5/19/11, Erick Erickson <er...@gmail.com> wrote:
> 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 <ke...@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.
>>
>


-- 
Regards,

Dmitry Kan