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 recre
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 de
Ah, you're right. You'll have to go into that bit of code and look at the
various group parameters and create your own links for paging,
particularly the "matches" response value. Basically, you're paging on
different criteria than Solritas is set up for and have to roll your own...
Best
Erick
On
When I specify only 3 no of rows(&rows=3) I just get only 3 results. This
problem is not with the no of docs, but with grouping of docs.
Well in velocity script browse.vm there is a code that is related to
pagination.
#if($response.response.get('grouped'))
#else
#link_to_previous_page("previo
I don't quite get what you mean by results aren't across pages. It's possible
that all the results fit in one page because of grouping. What happens if you
specify just a few rows? e.g. &rows=3?
I suspect this is just a problem with the small number of docs.
Best
Erick
On Thu, Sep 1, 2011 at 12: