dstl/baleen

Elasticsearch Mapping should specify that entities are nested

Closed this issue · 2 comments

Unless the Elasticsearch mapping explicitly defines the entities array as nested, then we lose the ability to search documents for, as an example, Person entities with the value Holmes.

The mapping needs changing in AbstractElasticsearchConsumer to define entities as a nested object, as per https://www.elastic.co/guide/en/elasticsearch/guide/current/nested-mapping.html

This has been addressed and a fix will be included in the next SNAPSHOT build.

Addressed in Baleen 2.4