I think you could use dismax and restric de result with a filter query. 
Suposing you're using dismaxquery parser it should look like:
http://localhost:8080/solr/select?q=whatever&fq=category:3
I think this would sort your case


surfer10 wrote:
> 
> definitly disMax do the thing by searching one term against multifield.
> but  what if my index contains two additional multivalued fields like
> category id
> 
> i need to search against terms in particular fields of documents and
> dismax do this well thru "qf=field1,field2"
> how can i filter results which has only "1" or "2" or "3" in categoryID
> field?
> 
> could you please help me to figure this?
> 
> update: i've found discursion about that on
> http://www.nabble.com/using-dismax-with-additional-query--td18178512.html#a18178512
> there is a suggestion to use filterquery. i'll check it out
> 

-- 
View this message in context: 
http://www.nabble.com/how-can-solr-search-angainst-group-of-field-tp21557783p21625476.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to