How to build a span near query with nested objects?


(Manuel Islas) #1

I have a document like:

Document: {
documentId,
name,
content,
SubDocuments:[{
name,
displayName,
content
}]
}

and want to run a span_near query over the nested SubDocument properties. Any idea how to achieve this?

Thanks,


(system) #2