[opencms-dev] Internal vs. external Solr server

Ann-Sophie Hahn Ann-Sophie.Hahn at componio.net
Tue Nov 1 12:17:00 CET 2016


Hello,

We notice that the behavior of the internal Solr server is different than the behavior of the external one and we want to know whether this is a bug or something intended.

The external server for the query with parameters "rows=3&start=2" returns the results 2,3,4, that should be the expected behavior.

The internal Solr server does not change the starting number if the parameter "start"  is not a multiple of the parameter "rows". So for the query with the parameters "rows=3&start=2"  it returns 0,1,2. After changing the parameter to "rows=3&start=3" it returns the results  3,4,5. But there is no possibility to get 4 as the first index of the result list while rows is set to 3.

Is this the right behavior or why is it like this?

Thanks,
Ann-Sophie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20161101/506d8813/attachment.htm>


More information about the opencms-dev mailing list