lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jefferyyuan <>
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:
Sent from the Solr - User mailing list archive at

View raw message