[opencms-dev] [OpenCms 9.0.0] CmsSolrIndex query with rows & start ?

Siegfried Ehret s.ehret at eurelis.com
Fri Jan 10 10:06:18 CET 2014


Hi,

When I call CmsSolrIndex.search with a query containing rows & start parameters, I have strange results.
In the source code (https://github.com/alkacon/opencms-core/blob/branch_9_0_x/src/org/opencms/search/solr/CmsSolrIndex.java ), I found this:
query.setStart(new Integer(0));
query.setRows(new Integer((5 * rows * page) + start));

How can I set the start & rows parameters myself ?

Siegfried Ehret

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140110/22119487/attachment.htm>


More information about the opencms-dev mailing list