Search code examples
azure-cognitive-search

Can I query Azure Search while the index is being updated?


I need to run an Azure Search indexer to rebuild an index on > 10 million documents. If this is a long running task will the Azure Search be available to query?


Solution

  • Yes, you can query an index while documents are being indexed. However, there are several things to be aware of which I mention in my Azure Search tutorial,

    1. The document(s) will not be part of a result set until they have been indexed.
    2. Indexing this many documents could potentially slow the performance of your queries.