Hello Solr Users,

In my system I have multiple records belonging to users, and I need to
perform a query to find users who have records that meet the criteria of
that query. For example, if my record has the field "search" and I query for
search:((item1 AND item2) NOT item3), I want to find all users that have one
or more records with item1 and one or more records with item2 but no records
containing item3.

I have investigated the block join parent query which comes close to the
functionality that I need, but it appears to apply the entire query to each
individual child document, rather than across all child documents.

At the moment the only solutions I can think of are to combine all the user
records into one giant document for each user or do some sort of OR query to
get all documents with partial matches for each user and then manually
verify that my result document set satisfies my criteria. Neither of these
solutions sounds very attractive to me. Does anyone else have any advice or
recommendations for this scenario?

Thanks,
Luke



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Block-Join-Parent-Query-across-children-docs-tp4127637.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to