Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How is it possible to make a multi-index search using Azure Search API?

How can I made search into multiple index using azure search API?

For example:

https://{0}/indexes**('Place','vehicle')**/docs?api-version={1}&search={2}&$count=true".

Is it possible or not?

like image 848
Ravi Avatar asked Oct 04 '14 18:10

Ravi


People also ask

What are the 2 methods to populate the index in Azure Cognitive Search?

Populating the index is a separate operation. For this step, you can use an indexer (see Indexer operations, available for supported data sources) or an Add, Update or Delete Documents.

Which of the following methods are available for pushing data to an index in Azure search?

Azure Cognitive Search supports two basic approaches for importing data into a search index: pushing your data into the index programmatically, or pointing an Azure Cognitive Search indexer at a supported data source to pull in the data.

What is index and indexer in Azure search?

An indexer in Azure Cognitive Search is a crawler that extracts searchable content from cloud data sources and populates a search index using field-to-field mappings between source data and a search index.


1 Answers

Based on my understanding of the search service, it is not possible to do searches spanning multiple indexes using the API. You would need to do searches on each index individually and then merge the results somehow on the client side.

like image 122
Gaurav Mantri Avatar answered Oct 02 '22 12:10

Gaurav Mantri