| Resurecting this... There's a great thing with joins: you can search for elements matching multiple conditions in collections properties. For example search for all groups that have a post with a title containing "lucene" and a body containing "solr". Right now with @IndexedEmbedded, it's not possible (see this question on stackoverflow for instance). So I think we definitely need something in the DSL. Also, having a dedicated feature in the DSL would allow for arbitrary joins, which can be useful from time to time. We could also add a way to do simpler join queries with indexing metadata, but I think it's a separate subject. It may be addressed as part of
HSEARCH-2263 Open for instance, since this seems very close to Elasticsearch's `nested` datatype (though not exactly the same): https://www.elastic.co/guide/en/elasticsearch/reference/current/nested.htm I'm moving this to 6 because I think we definitely need to at least check that it will be doable in 6 (especially with respect to
HSEARCH-2498 Open ). I would even be tempted to do a 5.9 just for this feature, but we can't keep postponing 6 forever... |