| page_type | languages | name | description | products | urlFragment | |||
|---|---|---|---|---|---|---|---|---|
sample |
|
Bulk insert documents in Azure AI Search using Python |
Creates and loads an Azure AI Search index using bulk insert operations with the good-books sample dataset.
|
|
python-bulk-insert |
This sample creates and loads a search index using bulk insert operations with the good-books sample dataset. It demonstrates efficient document indexing patterns for large datasets.
| File | Description |
|---|---|
bulk-insert.py |
Python script that creates and loads the search index |
good-books-index.json |
Index schema definition |
requirements.txt |
Python package dependencies |
This sample is the Python version of the bulk-insert content used in Tutorial: Add search to web apps. You can substitute this code to create a Python version of the sample app. You can also run this code on its own to create a good-books index on your search service.
You can learn more about Azure AI Search on the official documentation site.