lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jefferyyuan <yuanyun...@gmail.com>
Subject Re: Is there a way to limit returned rows directly in a query string?
Date Thu, 15 Nov 2012 21:21:38 GMT
Thanks :)
local param is very useful, but seems it doesn't work here:
I tried:
q={!rows=3}ext_name:pdf OR ext_name:ppt  ==> this only return 3 ppt docs.

q={!rows=3}ext_name:pdf OR q={!rows=3}ext_name:ppt
This causes syntax error, as solr doesn't support multiple query string.
q={!rows=3}ext_name:pdf OR {!rows=3}ext_name:ppt
This doesn't work either.




--
View this message in context: http://lucene.472066.n3.nabble.com/Is-there-a-way-to-limit-returned-rows-directly-in-a-query-string-tp4020550p4020602.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message