Re: Limits in individual filter sub queries

2015-08-07 Thread Selvam
Hi All, I think Solr 5.1+ supports streaming API that can be used for my need. Though it is not working for me right now. I will send another email for that. On Thu, Aug 6, 2015 at 3:08 PM, Selvam wrote: > Dear Toke, > > Thanks for your input. Infact my scenario is much more complex, let me

Re: Limits in individual filter sub queries

2015-08-06 Thread Selvam
Dear Toke, Thanks for your input. Infact my scenario is much more complex, let me give you an example, q=*.*&fq=(country:india AND age:[25 TO 40] AND sex:male) OR (country:iran AND income:[5 TO 9]) You can see each subquery has different parameters, I may want to limit the first subquer

Re: Limits in individual filter sub queries

2015-08-06 Thread Toke Eskildsen
On Thu, 2015-08-06 at 12:32 +0530, Selvam wrote: > Good day, I wanted to run a filter query (fq), say, I need to run > > q=*.*&fq=(country:india) OR (country:iran)&limit=100 > > Now it may return me 100 records that might contain 70 Indians & 30 Iran > records. Now how can I force to fetch 50 Ind

Limits in individual filter sub queries

2015-08-06 Thread Selvam
Hi All, Good day, I wanted to run a filter query (fq), say, I need to run q=*.*&fq=(country:india) OR (country:iran)&limit=100 Now it may return me 100 records that might contain 70 Indians & 30 Iran records. Now how can I force to fetch 50 Indian & 50 Iran records using a single SOLR query? Sh