How to do an OR between two block join clauses .
for example : I want to find all parent documents who has the phrases "abc def" OR "hij lmn"
Assumption here being "abc def " and "hij lmn" are in different child docs and all parent docs have an identifier doc_type:parent
Logically , the query would be:
({!parent which="doc_type:parent"}"abc def") OR ({!parent which="doc_type:parent"}"hij lmn") .
This query would throw the
EOF .org.apache.solr.search.SyntaxError: Cannot parse '\"abc': Lexical error at line 1, column 5.
Encountered: after : \"\\"abc\""error .
I cannot combine with fq's because i have an OR operator here . How do we solve this ?