Query object at specific occurrence/index of nested type


(Michael Lawler) #1

Hi,

When working with a nested type which is a list of objects, is it possible
to constrain the scope of the query to an object ay a specific index?

i.e. if 'foo' is a nested type, can I search only for foo[0] rather than
foo[1] within the parent document.

i.e. I want the path of my nested query to be 'foo[0]' not 'foo'

Michael

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/b262dcff-432e-4e1e-a1af-a97ddae6e751%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #2