lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: how to get unique latest results from solr
Date Thu, 25 Jul 2013 02:20:08 GMT
You might be able to get close with grouping (by employee) and
sorting within groups by update time.

Best
Erick

On Wed, Jul 24, 2013 at 10:13 AM, Jack Krupansky
<jack@basetechnology.com> wrote:
> In that case, the answer is that no, Solr does not have such a feature.
>
> You could simulate it by doing a separate query (using the method I
> suggested) for each of the 10 employees, one at a time.
>
>
> -- Jack Krupansky
>
> -----Original Message----- From: Alok Bhandari
> Sent: Wednesday, July 24, 2013 10:07 AM
> To: solr-user@lucene.apache.org
> Subject: Re: how to get unique latest results from solr
>
>
> Thanks Jack.
>
> It may be the case that I was unable to explain the query correctly.
> Actually I don't want it for a single employee I want it for all the
> employees that are updated in that time range. So if lets say 10 employees
> data is updated in the given time-range and that also multiple times then I
> want latest entry per employee updated in the given time range.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/how-to-get-unique-latest-results-from-solr-tp4080034p4080052.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message