Indexing with Algolia
1. Prerequisites
Section titled “1. Prerequisites”2. Create a crawler to index the documentation
Section titled “2. Create a crawler to index the documentation”- In the Algolia overview page, click on “Go To Crawlers”.
- Click on “Add new crawler”.
- Name your crawler (e.g.
neurodesk-docs). - Set the “Start URL” to your documentation URL (e.g.
https://neurodesk.org/). - Click “Create”.
3. Configure the crawler
Section titled “3. Configure the crawler”-
In the crawler settings, go to the “Editor” section under “SETUP”.
-
You can specify how the content should be indexed. It can override the default settings.
-
Run the crawler by clicking on “Run Test” in the top right corner.
-
Once the test is successful, click on “Review and Publish” to start indexing the documentation.
4. Create a new Algolia index
Section titled “4. Create a new Algolia index”- Log in to your Algolia account.
- Click on “Indices” in the left sidebar.
- Click on “Create index”.
- Name your index (e.g.
neurodesk-docs). - Click “Create”.
5. Configure the Algolia index
Section titled “5. Configure the Algolia index”- In the index settings, go to the “Searchable attributes” section.
- Add attributes you want to be searchable, e.g.
title,content. - In the “Ranking” section, set the ranking criteria according to your needs.
- Save the settings.