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 Senthilnathan Vijayaraja <se...@8kmiles.com> on 2014/01/07 07:43:30 UTC

pagination with grouping

Hi,

i am using group.query like below,

  group=true&
  group.query=_query_:{!frange l=0 u=10 v=$score}&
  group.query=_query_:{!frange l=10 u=20 v=$score}&
  group.query=_query_:{!frange l=20 u=30 v=$score}

here I want to restrict the overall record counts, start=0&rows=10 is not
working here.
within the group level we can do this using offset=0&group.limit=10.

for eg>I want only 10 records, if the first group
group.query=_query_:{!frange l=0 u=10 v=$score} contain 10 records,i don't
need records from other two groups.

could someone help me please.



Thanks & Regards,
Senthilnathan V