We have EntityType.INGESTION_SOURCE in EntityType ...
# contribute-code
l
We have EntityType.INGESTION_SOURCE in EntityType enum values but search operation over INGESTION_SOURCE return the exception:
"Unknown entity type: INGESTION_SOURCE"
. Note: Change the type to any other EntityType will return correct results
Copy code
query SearchIngestionSourcesWithoutFilter {
  search(input: {
    type: INGESTION_SOURCE,
    query: "*", 
    start: 0,
    count: 10
    
  }) {
    start,
    count,
    total: count,
    
    searchResults {
      entity {
        urn
      }
    }
  }
}
r
Hi Hung Vu. Unfortunately Ingestion Sources are not supported in our search API, which is primarily intended for searching data assets - tables, charts, dashboards, data pipelines, etc. You have to use the listIngestionSources GraphQL API for fetching ingestion sources. That being said, I think we'd be open to adding this if there is a strong use cases... It would be fairly straightforward change to the GraphQL API to achieve this
👍 1