Default result rows
Hi! Where can I define, how many rows must be returned in the result? Default is 10, and specifying other value each time through URL or advanced interface isn't comfortable. Ar cieņu, Mihails
Re: Default result rows
You can configure this in solrconfig.xml under the defaults section for StandardRequestHandler requestHandler name=standard class=solr.StandardRequestHandler default=true !-- default values for query parameters -- lst name=defaults str name=echoParamsexplicit/str int name=rows30/int str name=fl*/str str name=version2.1/str /lst /requestHandler 2008/6/18 Mihails Agafonovs [EMAIL PROTECTED]: Hi! Where can I define, how many rows must be returned in the result? Default is 10, and specifying other value each time through URL or advanced interface isn't comfortable. Ar cieņu, Mihails -- Regards, Shalin Shekhar Mangar.
Re: Default result rows
Doesn't work :(. None of the parameters in the defaults section is being read. Solr still uses the predefined default parameters. P.S. In defaults section I should be able specify also what stylesheet to use, right? Quoting Shalin Shekhar Mangar : You can configure this in solrconfig.xml under the quot;defaultsquot; section for StandardRequestHandler lt;requestHandler name=quot;standardquot; class=quot;solr.StandardRequestHandlerquot; default=quot;truequot;gt; lt;!-- default values for query parameters --gt; lt;lst name=quot;defaultsquot;gt; lt;str name=quot;echoParamsquot;gt;explicitlt;/strgt; lt;int name=quot;rowsquot;gt;30lt;/intgt; lt;str name=quot;flquot;gt;*lt;/strgt; lt;str name=quot;versionquot;gt;2.1lt;/strgt; lt;/lstgt; lt;/requestHandlergt; 2008/6/18 Mihails Agafonovs lt;[EMAIL PROTECTED]gt;: gt; Hi! gt; gt; Where can I define, how many rows must be returned in the result? gt; Default is 10, and specifying other value each time through URL or gt; advanced interface isn't comfortable. gt; Ar cie#326;u, Mihails -- Regards, Shalin Shekhar Mangar. Ar cieņu, Mihails Links: -- [1] mailto:[EMAIL PROTECTED]
Re: Default result rows
Use rows=NNN in the URL. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Mihails Agafonovs [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Wednesday, June 18, 2008 4:30:53 AM Subject: Default result rows Hi! Where can I define, how many rows must be returned in the result? Default is 10, and specifying other value each time through URL or advanced interface isn't comfortable. Ar cieņu, Mihails