The $page object is an instance of PageTool... which currently is constructed this way:
public PageTool(SolrQueryRequest request, SolrQueryResponse response) It doesn't work, currently, with the grouped stuff. It's just some simple math to get the page size, etc. You can pretty easily recreate this just using the values of each group and doing the math in Velocity macros/definitions. Erik On Sep 4, 2011, at 10:29 , Balaji N.S. [via Lucene] wrote: > > > I got the matching groups value with $grouping.value.matches . Apart from > this $page.results_found is the only parameter for which I can get the > value(Default value is 10). Suggest me some way to get the values of > $page.current_page_number and $page.page_count. > > So that I can write my own macro definition for grouping pagination under > VM_global_library.vm. > > > Thanks in advance. > > > > _______________________________________________ > If you reply to this email, your message will be added to the discussion > below: > http://lucene.472066.n3.nabble.com/How-to-display-results-across-multiple-pages-when-grouping-is-enabled-by-default-tp3300292p3308558.html > > To unsubscribe from How to display results across multiple pages when > grouping is enabled by default, visit > http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3300292&code=c29sci11c2VyQGx1Y2VuZS5hcGFjaGUub3JnfDMzMDAyOTJ8MTIyNjQ0MTk0Mg==