Hi,
We had come across a requirement to allow empty parameter values to query
string(q), start and rows as part of solr search query. 

In solr 3.4, have added defType to edismax and it's allowing empty params

http://<solrhost>/solr/<core>/select?&wt=xml&indent=true&rows=&start=" 
-->working fine in solr 3.4

Configs:

<requestHandler name="standard" class="solr.StandardRequestHandler"
default="true">
        <lst name="defaults">
                <str name="echoParams">explicit</str>
                <int name="rows">10</int>
                *<str name="q.alt">*:*</str>
                <str name="defType">edismax</str>*
        </lst>
        <arr name="last-components">
        </arr>
</requestHandler>

while applying the same changes in solr-5.3.1, empty rows/start parameter
causing "java.lang.NumberFormatException: For input string: """.

Can you please let us know, is there any way to do this?.
Thanks
Riyaz



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to