lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Leir <>
Subject Re: Pagination issue when grouping
Date Tue, 30 May 2017 21:59:13 GMT
Hi Tien
Consider using the export handler if you can. Then you have no paging.

When you are having a paging problem you might want to think of the use case -- how many of
your users will be willing​ to page deeply? If they give up, then you have lost already.
Cheers -- Rick

On May 29, 2017 7:58:38 PM EDT, Nguyen Manh Tien <> wrote:
>I group search result by a field (with high cardinality)
>I paginate search page using num of groups using param
>But that cause high CPU issue. So i turn off it.
>Without ngroups=true, i can't get the num of groups so pagination is
>correct because i must use numFound,
>it alway miss some last pages, the reason is some results was already
>collapsed into groups in previous pages.
>For example, a search return 11 results, but there are 2 results belong
>1 groups, so it has 10 groups (but i don't know it in advance because i
>ngroups=false), with 11 results, pagination display 2 pages, but page 2
>have 0 results.
>Anyone faced similar issue and had a work around?

Sorry for being brief. Alternate email is rickleir at yahoo dot com 
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message