elasticsearch - Is it possible to compare two fields from different types on a Query DSL? -
i'm new elasticsearch , i'm struggling question. want sort of (sql example):
select a.id tablea a, tableb b a.id = b.id;
i want query returns of info tablea, if id tablea equal id tableb. i've read lot of query filter fields , think might use term field i'm not sure how.
thanks in advance!
this answer given adrien grand on elasticsearch group:
this sql query join , in general elasticsearch not support joins.
if id field pk, might able indexing b child of (using parent/child) , searching documents in have child in b.
Comments
Post a Comment