<div dir="ltr">Perfect ! <div><br></div><div>I never noticed it was possible to precise<span style="font-family:arial,sans-serif;font-size:13px"> </span><span style="font-family:arial,sans-serif;font-size:13px">index.search(getCmsObject(), squery, <b>true</b>).</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">Thank you very much ! </span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Regards, </span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">Matthias Griselle</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/9 Rüdiger Kurz <span dir="ltr"><<a href="mailto:r.kurz@alkacon.com" target="_blank">r.kurz@alkacon.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
<br>
The ignoreMaxRows is not interpreted as HTTP parameter, it can only be passes as argument to the Java-API.<br>
<br>
Try an API call like:<br>
<br>
String query = "?fq=con_locales:*&fq=parent-<u></u>folders:*&fl=path&rows=99999";<br>
CmsSolrQuery squery = new CmsSolrQuery(null, CmsRequestUtil.<u></u>createParameterMap(query));<br>
CmsSolrIndex index = OpenCms.getSearchManager().<u></u>getIndexSolr(AllTests.SOLR_<u></u>ONLINE);<br>
int found = index.search(getCmsObject(), squery, true).size();<br>
<br>
and let us know the value of 'found'.<br>
<br>
regards<br>
Rüdiger<br>
<br>
Am 09.10.2013 13:45, schrieb Matthias Griselle:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
In fact, I said victory too fast... ^^'<br>
<br>
I added ignoreMaxRows=true, but I still have 50 results at the end.<br>
I'm using OpenCMS 8.5.2, so ignoreMaxRows should be set to true by default.<br>
<br>
logs :<br>
08 oct. 2013 14:57:43,222 ERROR [box.action.<u></u>GetAllModulesAction: 138]<br>
Query : fq=type:(article OR articlebox OR servicebox OR<br>
widget)&rows=9999&<u></u>ignoreMaxRows=true&fq=parent-<u></u>folders:(/sites/default/agent/<u></u>)<br>
08 oct. 2013 14:57:43,225 INFO [ org.jboss.logging.Logger: 296]<br>
[Solr Online] webapp=null path=/select<br>
params={q=*:*&fl=*,score&qt=<u></u>edismax&rows=250&<u></u>ignoreMaxRows=true&fq=type:(<u></u>article<br>
OR articlebox OR servicebox OR<br>
widget)&fq=parent-folders:(/<u></u>sites/default/agent/)&start=0} hits=50<br>
status=0 QTime=1<br>
08 oct. 2013 14:57:43,503 ERROR [box.action.<u></u>GetAllModulesAction: 149] 50<br>
results available<br>
<br>
Do anyone have an idea ?<br>
<br>
Regards,<br>
Matthias Griselle<br>
<br>
<br>
<br>
2013/10/3 Matthias Griselle <<a href="mailto:mgriselle@gmail.com" target="_blank">mgriselle@gmail.com</a><br></div>
<mailto:<a href="mailto:mgriselle@gmail.com" target="_blank">mgriselle@gmail.com</a>>><div class="im"><br>
<br>
I found the answer :<br>
<a href="http://opencms.996256.n3.nabble.com/Solr-and-limited-rows-td23611.html" target="_blank">http://opencms.996256.n3.<u></u>nabble.com/Solr-and-limited-<u></u>rows-td23611.html</a><br>
<br>
<br>
2013/10/3 Matthias Griselle <<a href="mailto:mgriselle@gmail.com" target="_blank">mgriselle@gmail.com</a><br></div>
<mailto:<a href="mailto:mgriselle@gmail.com" target="_blank">mgriselle@gmail.com</a>>><div><div class="h5"><br>
<br>
Hi all,<br>
<br>
When I'm requesting some Solr query, the row limit does not<br>
match what I want.<br>
If I do not precise any limit, by default it's 50. (it is normal)<br>
When I precise any range in my query, the value is always 250. I<br>
can ask something higher or lower, I always have 250.<br>
My aim is to get (almost) no limit.<br>
<br>
Do you have any idea ?<br>
<br>
<br>
My call in java :<br>
CmsSearchManager searchManager = OpenCms.getSearchManager();<br>
CmsSolrResultList results = null;<br>
results = searchManager.getIndexSolr("<u></u>Solr Online").search(cms,<br>
query.toString());<br>
<br>
The value of query :<br>
fq=type:(article OR articlebox OR service OR servicebox OR<br>
widget OR rssreader OR<br>
boxflexible)&rows=100&fq=<u></u>parent-folders:(/sites/<u></u>default/test-beta/)<br>
<br>
What I get in logs :<br>
[Solr Online] webapp=null path=/select<br>
params={q=*:*&fl=*,score&qt=<u></u>edismax&rows=250&fq=type:(<u></u>article OR<br>
articlebox OR service OR servicebox OR widget OR rssreader OR<br>
boxflexible)&fq=parent-<u></u>folders:(/sites/default/test-<u></u>beta/)&start=0}<br>
hits=3 status=0 QTime=111<br>
<br>
Thanks for help.<br>
<br>
Regards,<br>
Matthias Griselle<br>
</div></div></blockquote>
<br>
-- <br>
Kind Regards,<br>
Rüdiger.<br>
<br>
-------------------<br>
<br>
Rüdiger Kurz<br>
<br>
Alkacon Software GmbH - The OpenCms Experts<br>
<a href="http://www.alkacon.com" target="_blank">http://www.alkacon.com</a> - <a href="http://www.opencms.org" target="_blank">http://www.opencms.org</a><br>
______________________________<u></u>_________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-<u></u>bin/mailman/listinfo/opencms-<u></u>dev</a><br>
<br>
<br>
<br>
</blockquote></div><br></div>