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.
If you take "tag_tree" as index, "project" as the type, and "topic" as doc
id, you can set up a field "axis" with values of either 1,2, or 3, and you
can filter accordingly.
An alternative would be a composite key of tag_tree, project, topic as doc
id.
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.