The Azure Code Samples are currently available in English
NodeJS program that creates an Azure Search index and automatically populates it with data from a SQL Azure instance using an indexer.
Also comes with a simple React UI to query results.
To get started
- git clone https://github.com/Azure-Samples/AzureSearchNodeJSIndexerDemo.git
npm install -g http-server
config.jswith your search service URL & api key
npm run indexDocuments
npm run build
npm run start_server
- direct your browser at http://localhost:8080/index.html
Step five will run a script that creates and index, datasource, and indexer. This indexer will scrape a SQL Azure DB, provided by the Azure Search team, and automatically push all rows into your Azure Search Index.