On 7/23/25 03:36, Sander wrote:
q=_text_:cheese OR {!parent which="!_nest_path:*" v="+_nest_path:*
+_text_:cheese"}
fq=!_nest_path:*

So, query for documents matching :cheese or parents of documents which match
cheese, and filter out child documents.

(Not completely certain about these nest paths, particularly in the block
mask - I personally set an extra field to distinguish child from parent
documents, to make them easier to reason about.)

Ah, filtered. Thank you.

Yes: _nest_path_ works.

Thanks again,
Dima

Reply via email to