I've got an interesting problem, where I am indexing data that contains a 
field which looks like:

"tag_tree": {

  "project1": {

    "topic1": ["axis1"]

  },

  "project2": {

    "topic2": ["axis1","axis2"],

    "topic3": ["axis2", "axis3"]

  }

}


The difficulty arises that I need to be able to filter something like 
{"term": {"tag_tree.project1.*": "axis1"}} - I have to be able to tell if 
the axis exists in any of the arrays contained by any of the topics in the 
hash.

I don't know if I need to make this possible via a mapping change, or a 
specific filter structure, or some combination of the two.

Any ideas?


Thanks,

Chris Tembreull

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/4476db4b-e55e-4938-ae43-d137377741a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to