Why not do this at the app level? You can simply reorder the docs returned
in your groups by score and display it that way.
Or am I misunderstanding your requirement?
Best
Erick
On Thu, Dec 6, 2012 at 11:03 AM, Tom Mortimer wrote:
> Thanks, but even with group.main=true the results are not in
Thanks, but even with group.main=true the results are not in relevancy (score)
order, they are in group order. Which is why I can't use it as is.
Tom
On 6 Dec 2012, at 19:00, Way Cool wrote:
> Grouping should work:
> group=true&group.field=source_id&group.limit=3&group.main=true
>
> On Thu,
Grouping should work:
group=true&group.field=source_id&group.limit=3&group.main=true
On Thu, Dec 6, 2012 at 2:35 AM, Tom Mortimer wrote:
> Sounds like it's worth a try! Thanks Andre.
> Tom
>
> On 5 Dec 2012, at 17:49, Andre Bois-Crettez wrote:
>
> > If you do grouping on source_id, it should be
Sounds like it's worth a try! Thanks Andre.
Tom
On 5 Dec 2012, at 17:49, Andre Bois-Crettez wrote:
> If you do grouping on source_id, it should be enough to request 3 times
> more documents than you need, then reorder and drop the bottom.
>
> Is a 3x overhead acceptable ?
>
>
>
> On 12/05/20
If you do grouping on source_id, it should be enough to request 3 times
more documents than you need, then reorder and drop the bottom.
Is a 3x overhead acceptable ?
On 12/05/2012 12:04 PM, Tom Mortimer wrote:
Hi everyone,
I've got a problem where I have docs with a source_id field, and ther
Hi everyone,
I've got a problem where I have docs with a source_id field, and there can be
many docs from each source. Searches will typically return docs from many
sources. I want to restrict the number of docs from each source in results, so
there will be no more than (say) 3 docs from source