<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10px"><div id="yui_3_16_0_ym19_1_1499176430102_6324"><span id="yui_3_16_0_ym19_1_1499176430102_8653"><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" id="yui_3_16_0_ym19_1_1499176430102_8652" size="3">Hi Daniel,</font></span></div><div id="yui_3_16_0_ym19_1_1499176430102_6324"><span><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" size="3"><br></font></span></div><div id="yui_3_16_0_ym19_1_1499176430102_6324"><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" size="3">Thanks for reply.</font></div><div id="yui_3_16_0_ym19_1_1499176430102_6324"><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" size="3"><br></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1499176430102_8348"><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" id="yui_3_16_0_ym19_1_1499176430102_8678" size="3">I <span style="color: rgb(33, 33, 33); white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1499176430102_8349">understood</span>. </font><span style="font-size: medium; color: rgb(33, 33, 33); white-space: pre-wrap; font-family: HelveticaNeue, "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;" id="yui_3_16_0_ym19_1_1499176430102_8724">So I can not use the solr cursors to perform my search?</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1499176430102_8291"><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" id="yui_3_16_0_ym19_1_1499176430102_8668"><span style="color: rgb(33, 33, 33); white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1499176430102_8292"><font size="3" id="yui_3_16_0_ym19_1_1499176430102_8720">Because, in that way, using the cursors, it would always be leaving results out of the search. </font></span><br id="yui_3_16_0_ym19_1_1499176430102_8293"></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1499176430102_8291"><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><span style="color: rgb(33, 33, 33); white-space: pre-wrap;"><font size="3"><br></font></span></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1499176430102_8291"><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" id="yui_3_16_0_ym19_1_1499176430102_8789"><span style="color: rgb(33, 33, 33); white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1499176430102_8788"><font size="3" id="yui_3_16_0_ym19_1_1499176430102_8787">Thanks again :)</font></span></font></div> <div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1499176430102_8548"><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><br><br></font></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1499176430102_8554" style="display: block;"> <div style="font-size: 10px;" id="yui_3_16_0_ym19_1_1499176430102_8553"> <div style="font-size: 16px;" id="yui_3_16_0_ym19_1_1499176430102_8552"> <div dir="ltr" id="yui_3_16_0_ym19_1_1499176430102_8551"><font size="2" id="yui_3_16_0_ym19_1_1499176430102_8550" face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"> Em Terça-feira, 4 de Julho de 2017 10:47, Daniel Seidel <d.seidel@alkacon.com> escreveu:<br></font></div> <font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><br><br> </font><div class="y_msg_container" id="yui_3_16_0_ym19_1_1499176430102_8645"><div id="yiv0326156675"><div id="yui_3_16_0_ym19_1_1499176430102_8644">
<div id="yui_3_16_0_ym19_1_1499176430102_8693"><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif">Hi Maisa,</font></div>
<div id="yui_3_16_0_ym19_1_1499176430102_8696"><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" id="yui_3_16_0_ym19_1_1499176430102_8695">you can have a look at
<a rel="nofollow" shape="rect" class="yiv0326156675moz-txt-link-freetext" target="_blank" href="https://github.com/alkacon/opencms-core/blob/branch_10_5_x/src/org/opencms/search/solr/CmsSolrIndex.java" id="yui_3_16_0_ym19_1_1499176430102_8694">https://github.com/alkacon/opencms-core/blob/branch_10_5_x/src/org/opencms/search/solr/CmsSolrIndex.java</a>
at the search method starting at line 571, in particular the
manipulation at line 622 might be an interesting hint to
understand what is happening.</font></div>
<div><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif">At the moment, the search method always requests many more
results from solr then you want in the end. The reason is: when
resources are filtered by the permission check, you should still
get the many results you expected (in most cases).</font></div>
<div><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif">Best, Daniel.<br clear="none">
</font></div>
<font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><br clear="none">
</font><div class="yiv0326156675moz-cite-prefix"><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif">Am 04.07.2017 um 14:38 schrieb Maisa
Barros:<br clear="none">
</font></div>
<blockquote type="cite" id="yui_3_16_0_ym19_1_1499176430102_8665">
<div class="yiv0326156675yqt9970803339" id="yiv0326156675yqt80271"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 10px;" id="yui_3_16_0_ym19_1_1499176430102_8664">
<div id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14192"><font id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14193" size="2" face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif">Hello everyone,</font></div>
<div id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14194"><font size="2" face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><br clear="none" id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14195">
</font></div>
<div id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14196" style="margin-top:0px;margin-bottom:1em;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline;clear:both;color:rgb(36, 39, 41);"><font id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14419" size="2" face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif">I use opencms 10.5.1 with solr
5.5.3.</font></div>
<div id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14197" style="margin-top:0px;margin-bottom:1em;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline;clear:both;color:rgb(36, 39, 41);"><font id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14418" size="2" face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif">I have this query:
q=incendio&fl=id&sort=id
asc&cursorMark=*&debugQuery=true&rows=10</font></div>
<div dir="ltr" id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14198" style="margin-top:0px;margin-bottom:1em;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline;clear:both;color:rgb(36, 39, 41);"><font id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14316" size="2" face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif">The results displayed are with
the amount correct, but in debug explain shows 5 times the
number of results:</font></div>
<div id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_10519"><font id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_13977" size="2" face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><img class="yiv0326156675ymail-preserve-class yiv0326156675inline-image-guid-c43b90f4-edbf-2cc7-6ab8-b8170f3658bf yiv0326156675rte-inline-saved-image" id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14103" src="" alt="Alinhar imagem" style="width:100%;max-width:603px;max-height:451px;" data-id="04afd1a5-20d3-7366-37a2-acef00434036"><br clear="none" id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14106">
<br clear="none">
</font></div>
<div id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14264" style="margin-top:0px;margin-bottom:1em;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline;clear:both;color:rgb(36, 39, 41);"><font id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14320" size="2" face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif">And when I use the
nextCursorMark, the results for the other page start at 50.
At the end, it shows fewer results.</font></div>
<div id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14265" style="margin-top:0px;margin-bottom:1em;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline;clear:both;color:rgb(36, 39, 41);"><font id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14411" size="2" face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif">When I use basic pagination with
"start", it works.</font></div>
<div dir="ltr" id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14266" style="margin-top:0px;margin-bottom:1em;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline;clear:both;color:rgb(36, 39, 41);"><font size="2" face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif">What's happening?</font></div>
<div dir="ltr" id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_14266" style="margin-top:0px;margin-bottom:1em;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline;clear:both;color:rgb(36, 39, 41);"><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><span style="font-family:HelveticaNeue,;">Thank's.</span><br clear="none">
</font></div>
<div dir="ltr" id="yiv0326156675yui_3_16_0_ym19_1_1499171199610_13969" style="margin-top:0px;margin-bottom:1em;border:0px;font-stretch:inherit;font-size:15px;line-height:inherit;font-family:Arial,;"><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><br clear="none">
</font></div>
</div></div>
<font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><br clear="none">
</font><fieldset class="yiv0326156675mimeAttachmentHeader"></fieldset>
<font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif"><br clear="none">
</font><pre><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif">_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<a rel="nofollow" shape="rect" class="yiv0326156675moz-txt-link-freetext" target="_blank" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</font></pre>
</blockquote>
<pre class="yiv0326156675moz-signature" id="yui_3_16_0_ym19_1_1499176430102_8643"><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" id="yui_3_16_0_ym19_1_1499176430102_8646">--
Kind Regards,
Daniel.
-------------------
Daniel Seidel
Alkacon Software GmbH & Co. KG - The OpenCms Experts
<a rel="nofollow" shape="rect" class="yiv0326156675moz-txt-link-freetext" target="_blank" href="http://www.alkacon.com/">http://www.alkacon.com</a> - <a rel="nofollow" shape="rect" class="yiv0326156675moz-txt-link-freetext" target="_blank" href="http://www.opencms.org/" id="yui_3_16_0_ym19_1_1499176430102_8647">http://www.opencms.org</a> </font></pre>
</div></div><div class="yqt9970803339" id="yqt69928"><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" id="yui_3_16_0_ym19_1_1499176430102_8648">_______________________________________________<br clear="none">This mail is sent to you from the opencms-dev mailing list<br clear="none">To change your list options, or to unsubscribe from the list, please visit<br clear="none"><a shape="rect" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank" id="yui_3_16_0_ym19_1_1499176430102_8649">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br clear="none"><br clear="none"><br clear="none"><br clear="none"></font></div><font face="HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" id="yui_3_16_0_ym19_1_1499176430102_8657"><br id="yui_3_16_0_ym19_1_1499176430102_8656"></font><br></div> </div> </div> </div></div></body></html>