Hi , I was playing around in the maps section of Kibana , which I havent used before ... and stumbled on the "join" section in the Documents layer. Although I have no specific use for it in terms of maps ... it piqued my interest for other applications.
Upon inspecting the developer console ... I found it submitting the following query
I couldnt actually get it to return any rows ...but was wondering if someone had some insight into the join aspect of it. Is it something we can use in normal ES queries ...or does Kibana pre-parse the query to do a separate second query to join the results from the first one on ?
Is it something we can use in normal ES queries ...or does Kibana pre-parse the query to do a separate second query to join the results from the first one on ?
The request is just a standard _search terms aggregation request. The results from the terms aggregation are joined with the documents for the layer in the client with logic from Kibana.
The request is just a standard _search terms aggregation request. The results from the terms aggregation are joined with the documents for the layer in the client with logic from Kibana.
Thats what I initially thought .. but how does ES handle
Thats the field in the >other< index. But I suppose then Kibana parses out the kbnjoin* aggs and creates a second request based on it ... and then joins the results after the fact.
Would be awesome if we could have that kind of functionality IN elasticsearch . I understand scaling concerns .... but would have though it could me mitigated with a "too_many_buckets_exception" type breaker.
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.