Wildcards in flattened fields for nested objects


(the_nozzle) #1

hey all - is there a way to use a wildcard on a flattened nested object
field like a.b.c.d ? The use case would be searching for a.*.b.c =
"something" .. For some reason I have no problems getting hits in the
former case but I come up with nothing if I use a wildcard ..

Thanks for any hints

--
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/44957887-c4f0-4fe2-9470-28e77f02d4dd%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(the_nozzle) #2

More concrete example:
{"filter":{"prefix":{"facts.megaraid_pdlist.pd0.inquiry_data":"SEA"}}} -
works fine with the expected number of hits
{"filter":{"prefix":{"facts.megaraid_pdlist.pd*.inquiry_data":"SEA"}}} -
returns no hits ..

On Wednesday, December 4, 2013 2:12:07 PM UTC-8, the_nozzle wrote:

hey all - is there a way to use a wildcard on a flattened nested object
field like a.b.c.d ? The use case would be searching for a.*.b.c =
"something" .. For some reason I have no problems getting hits in the
former case but I come up with nothing if I use a wildcard ..

Thanks for any hints

--
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/8c158fe9-97c6-41d3-847a-3747d5c9a69e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3