: Thanks for your response. Here is an example of what I'm trying to do. If I : had the following documents:
what you are attempting is fairly trivial -- you want to query for all parent documents, then kapply 3 filters: * parent of a child matching item1 * parent of a child matching item2 * not a parent of a chile matching item3 Part of your problem may be that (in your example you posted anywayway) you appear to be trying to use a *string* field for listing multiple terms with commas and then seem to want to match on those individual terms -- that's not going to work. either make your string field a true multivalued field, or use a text field with tokenization. With the modified example data you provided below (using search_t instead of search_s) this query seems to do exactly waht you want... http://localhost:8983/solr/select?p_filt=type_s:parent&q=*:*&fq={!parent%20which=$p_filt}search_t:item2&fq={!parent%20which=$p_filt}search_t:item1&fq=-{!parent%20which=$p_filt}search_t:item3 q = *:* p_filt = type_s:parent wt = json fq = {!parent which=$p_filt}search_t:item2 fq = {!parent which=$p_filt}search_t:item1 fq = -{!parent which=$p_filt}search_t:item3 -Hoss http://www.lucidworks.com/