<div dir="ltr">In fact, I said victory too fast... ^^'<div><br></div><div>I added ignoreMaxRows=true, but I still have 50 results at the end. </div><div>I'm using OpenCMS 8.5.2, so ignoreMaxRows should be set to true by default. </div>
<div><br></div><div>logs :</div><div><div>08 oct. 2013 14:57:43,222 ERROR [box.action.GetAllModulesAction: 138] Query : fq=type:(article OR articlebox OR servicebox OR widget)&rows=9999&ignoreMaxRows=true&fq=parent-folders:(/sites/default/agent/)</div>
<div>08 oct. 2013 14:57:43,225 INFO [ org.jboss.logging.Logger: 296] [Solr Online] webapp=null path=/select params={q=*:*&fl=*,score&qt=edismax&rows=250&ignoreMaxRows=true&fq=type:(article OR articlebox OR servicebox OR widget)&fq=parent-folders:(/sites/default/agent/)&start=0} hits=50 status=0 QTime=1</div>
<div>08 oct. 2013 14:57:43,503 ERROR [box.action.GetAllModulesAction: 149] 50 results available</div></div><div><br></div><div>Do anyone have an idea ?</div><div><br></div><div>Regards, </div><div>Matthias Griselle</div>
<div>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/3 Matthias Griselle <span dir="ltr"><<a href="mailto:mgriselle@gmail.com" target="_blank">mgriselle@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I found the answer : <a href="http://opencms.996256.n3.nabble.com/Solr-and-limited-rows-td23611.html" target="_blank">http://opencms.996256.n3.nabble.com/Solr-and-limited-rows-td23611.html</a></div><div class="HOEnZb">
<div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/10/3 Matthias Griselle <span dir="ltr"><<a href="mailto:mgriselle@gmail.com" target="_blank">mgriselle@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi all, <div><br></div><div>When I'm requesting some Solr query, the row limit does not match what I want. </div><div>If I do not precise any limit, by default it's 50. (it is normal)</div><div>When I precise any range in my query, the value is always 250. I can ask something higher or lower, I always have 250. </div>
<div>My aim is to get (almost) no limit. </div><div><br></div><div>Do you have any idea ? </div><div><br></div><div><br></div><div>My call in java : </div><div><div><font face="courier new, monospace">CmsSearchManager searchManager = OpenCms.getSearchManager();</font></div>
<div><font face="courier new, monospace">CmsSolrResultList results = null;</font></div><div><font face="courier new, monospace">results = searchManager.getIndexSolr("Solr Online").search(cms, query.toString());</font></div>
</div><div><br></div><div>The value of query : </div><div><font face="courier new, monospace">fq=type:(article OR articlebox OR service OR servicebox OR widget OR rssreader OR boxflexible)&rows=100&fq=parent-folders:(/sites/default/test-beta/)</font><br>
</div><div><br></div><div>What I get in logs :</div><div><font face="courier new, monospace">[Solr Online] webapp=null path=/select params={q=*:*&fl=*,score&qt=edismax&rows=250&fq=type:(article OR articlebox OR service OR servicebox OR widget OR rssreader OR boxflexible)&fq=parent-folders:(/sites/default/test-beta/)&start=0} hits=3 status=0 QTime=111</font><br>
</div><div><br></div><div>Thanks for help. </div><div><br></div><div>Regards, </div><span><font color="#888888"><div>Matthias Griselle</div></font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>