Hi Team, is it possible to search entity on the ba...
# advice-metadata-modeling
d
Hi Team, is it possible to search entity on the basis of description of another entity in Datahub ? for example, if we create our own custom entity "A" with description and attached the instance of it to any other entity say "B" by reference (similar how glossary attached to dataset entity through UUID), and when search the description of "A", is it possible results of "B" would come up ?
r
@adventurous-horse-81174 might be able to speak to this
d
hi @mammoth-bear-12532 Any inputs on this would really be helpful ?
one idea is to introduce new annotation for pdl, @SearchableRef, which can be used to annotate reference field of entity B in entity A. When B is linked with A, search index gets updated, this new annotation can be parsed and all the details of entity B can be populated in the index of entity A, which enables searching A possible on the basis of properties of B.