<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Atlas Search API for querying by more than one type at at time in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-Search-API-for-querying-by-more-than-one-type-at-at/m-p/226876#M84731</link>
    <description>&lt;P&gt;Atlas search APIs don't support multiple typeNames in a single call. There were few requests to support this - both for entity-types and classification-types. Atlas team will look into this; but there is no concrete date/release for this enhancement. Until then, you will have to make 2 basic-search API calls - one for hive_table and another for hive_column. As you said, full-text may not be a good choice.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Nov 2018 08:22:08 GMT</pubDate>
    <dc:creator>mneethiraj</dc:creator>
    <dc:date>2018-11-07T08:22:08Z</dc:date>
    <item>
      <title>Atlas Search API for querying by more than one type at at time</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-Search-API-for-querying-by-more-than-one-type-at-at/m-p/226875#M84730</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Use case is to search for a hive_table or a hive_column where name contains "customers" or description contains "customers" or comment contains "customers"&lt;/P&gt;&lt;P&gt;Using the search api : /v2/search/basic , we can achieve this for one particular type(hive_table) by using the following json. How can I query for both hive_table and hive_column in the same query ? Is it possible ?&lt;/P&gt;&lt;P&gt;One option is to use a full text search, But that will return me all the types (But, I am only interested in a subset of types)&lt;/P&gt;&lt;P&gt;p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #454545}
span.Apple-tab-span {white-space:pre}&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"typeName": "hive_table”,&lt;/P&gt;&lt;P&gt;"excludeDeletedEntities": true,&lt;/P&gt;&lt;P&gt;"offset": 0,&lt;/P&gt;&lt;P&gt;"limit":25,&lt;/P&gt;&lt;P&gt;"entityFilters": {&lt;/P&gt;&lt;P&gt;"condition": "OR",&lt;/P&gt;&lt;P&gt;"criterion": [&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"attributeName":"name",&lt;/P&gt;&lt;P&gt;"operator": "contains",&lt;/P&gt;&lt;P&gt;"attributeValue": "customer"&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"attributeName":"comment",&lt;/P&gt;&lt;P&gt;"operator": "contains",&lt;/P&gt;&lt;P&gt;"attributeValue": "provider"&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"attributeName":"description",&lt;/P&gt;&lt;P&gt;"operator": "contains",&lt;/P&gt;&lt;P&gt;"attributeValue": "provider"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;"attributes": [ "db", "qualifiedName" ]&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 23:04:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-Search-API-for-querying-by-more-than-one-type-at-at/m-p/226875#M84730</guid>
      <dc:creator>meghamala_u</dc:creator>
      <dc:date>2018-11-06T23:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Atlas Search API for querying by more than one type at at time</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-Search-API-for-querying-by-more-than-one-type-at-at/m-p/226876#M84731</link>
      <description>&lt;P&gt;Atlas search APIs don't support multiple typeNames in a single call. There were few requests to support this - both for entity-types and classification-types. Atlas team will look into this; but there is no concrete date/release for this enhancement. Until then, you will have to make 2 basic-search API calls - one for hive_table and another for hive_column. As you said, full-text may not be a good choice.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 08:22:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Atlas-Search-API-for-querying-by-more-than-one-type-at-at/m-p/226876#M84731</guid>
      <dc:creator>mneethiraj</dc:creator>
      <dc:date>2018-11-07T08:22:08Z</dc:date>
    </item>
  </channel>
</rss>

