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?
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With