Thanks a lot Alex.

I will go and try to make use of start filter and update.

Meantime, if I need to know, how many total search records are there.
Example: Lets say I am searching key word "java".

There might be 1000 documents having java keyword. I need to show only 100
records at a time.

When I query, as query result I need to know total number of records, and
only 100 records data.

At the bottom of the web page, I am showing something like

*Prev   1    2    3    4    5    6    7     8      9    10     Next*

When user clicks, 4, I will set "start" filter as 300, "rows" filter as 100
and do the query. As query result, I am expecting row count as 1000, and
100 records data (row number 301 to 400).

Is this something possible.

Alex, kindly guide me.

Thanks
kamal



On Tue, May 7, 2013 at 7:55 PM, Alexandre Rafalovitch <arafa...@gmail.com>wrote:

> Yes, that's what the 'start' and 'rows' parameters do in the query
> string. I would check the queries Solr sees when you do that long
> request. There is usually a delay in retrieving items further down the
> sorted list, but 15 seconds does feel excessive.
>
> http://wiki.apache.org/solr/CommonQueryParameters#start
>
> Regards,
>    Alex.
>
> On Tue, May 7, 2013 at 10:10 AM, Kamal Palei <palei.ka...@gmail.com>
> wrote:
> > Now, my question is, Is there any mechanism, I can tell to solr that, my
> > start row is X, rows is Y, then it will return search result from Xth row
> > with Y number of rows (Please note that this is similar with LIMIT stuff
> > provided by mysql).
>
>
>
> Personal blog: http://blog.outerthoughts.com/
> LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
> - Time is the quality of nature that keeps events from happening all
> at once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD
> book)
>

Reply via email to