Support Questions

Find answers, ask questions, and share your expertise

API Search using the attributes key and/or Attribute Value.

avatar
Explorer

I have a tag called "TestTag" which has three attributes namely attr1, attr2, attr3. I have associated a hive_column 'employeeName' with tag "TestTag" and values given for the attributes while associating the hive column are "attr1: value1", "attr2: value2", "attr3:value3". Now I want to search for all the entities which has the attribute 'attr1' with value 'value1'. So is there any APIs available or any other ways to find the same? I am using atlas 0.7 version.

Thanks in advance.

1 ACCEPTED SOLUTION

avatar
Explorer

There is no API in Atlas currently which offers search based on attribute key/value of a tag. One way of finding out all the entities which satisfy this criteria is to do a FullText Search with "attr1" and "value1" in the query.

View solution in original post

1 REPLY 1

avatar
Explorer

There is no API in Atlas currently which offers search based on attribute key/value of a tag. One way of finding out all the entities which satisfy this criteria is to do a FullText Search with "attr1" and "value1" in the query.