First query is OK; it just doesn't fit your need if I understand
Could you confirm that the expected result is 6 rows (3 rows w/ppt plus 3
rows/pdf) ?




2012/11/15 jefferyyuan <yuanyun...@gmail.com>

> 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.
>



-- 
Dominique Debailleux
WoAnA - small.but.robust
[image: Accèder au profil LinkedIn de Dominique
Debailleux]<http://www.linkedin.com/in/dominiquedebailleux>

Reply via email to