Setup an Index for Your Results
Category: Crawling Pipeline
Learn to set up and configure your first Mindbreeze index with this step-by-step tutorial, empowering you to create efficient, tailored search experiences.
Setting up a New Index in Mindbreeze InSpire
First, go to the Management Center and select the Configuration tab on the left. To set up a new index, click the Add Index button in the top right corner. Choose the node and Client Services that are available to you.
Next, under Data Sources, scroll down to the bottom and select any Data Source you choose – in our case, Web. Once you've made these selections, click Apply.
At the top of the configuration, you'll see a field to name your index. Choose a clear, recognizable name that aligns with its purpose. The index is called Mindbreeze because we want to index content from the Mindbreeze website with this index.
Enabling Advanced Settings
After naming it, enable Advanced Settings in the top right corner. This is essential, giving us access to all the necessary configuration options.
Scroll to the bottom of the index configuration to find the data source setting. Here, modify the category instance and choose a sensible source name. While the category instance is simply an internal ID and doesn't need to be user-friendly, the source name will be visible to end users, so ensure it's clear and adequately capitalized.
After these adjustments, scroll back to the top and click Save and Restart.
Handling Authentication and Public Search Options
You might see a warning message indicating that you attached the index to a public search. This occurs when our Client Service lacks authentication. While the index still requires it, you have two options to solve the problem:
- Activate an authentication method: This is the best practice option and should be enabled on the Client Service.
- Use Public Search: If indexing a public website, the index can also be added to a public Client Service used for public searches, such as website-search. In this case, the ACLs must be ignored.
Since we are indexing a public website, we use the Public Search option. Scroll down in the index configuration until you find the public search option. In this case, we use the Unrestricted Public Access option. Enable this setting so that your index no longer requires authentication.
You should also turn off the Enforce ACL Evaluation option to prevent the need for ACL evaluations on crawled pages during searches.
Once you've made these adjustments, scroll back up and click Save with Restart again.
Finalizing Configuration and Viewing Results
Now that your first index and crawler are configured, switch back to the Client we previously explored. You should now see your results appearing in the search client.