Indices are used to group data with similar attributes. Doofinder provides this product by default, allowing you to create additional indexes or completely replace the default product index.
Create Additional Indices
To create an additional index for Prestashop, Shopify, Bigcommerce, Woocommerce/Wordpress and Magento, follow these steps:
- Go to Search Engines > Settings > Indices.
- By default, there is a product index already created for you. To create another one, click on Configuration.
- A pop-up window called Indices Configuration will appear, in which you must enable the Advanced indices configuration option to display the indices options.
- Select the type of data you are going to index:
- To index the data, click on the Process now button.
– Blog & Articles
– Website Pages
– Product Categories
and Save.
Your new index will be automatically created and you only need to index the data.
Create An Index Manually
If you are not using one of the platforms mentioned above (Prestashop, Shopify, Bigcommerce, Woocommerce/Wordpress and Magento), you can create your index manually by clicking on +Add indice.
Once clicked, you have to type a name, indicate what type of data you are going to index and choose whether you want to index your data via API, URL or file. Then click on Create.
To enter the product information, you can paste the URL of the feed or upload a file to the system. To delete the source, click on the trash icon.
By default, Doofinder updates the feed once a day, so if you use the URL option you can keep a feed up to date automatically.
Remember:
Do not use special characters or blank spaces to separate words. Instead, use the underscore character ( _ ).
Also, the index name is case sensitive and should always be in lowercase.
To remove an indice, there's a trash icon on the right-hand side of each added index.
Use this option cautiously as it also deletes the data indexed in this index. Once deleted, you cannot recover it.
Once you have deleted an index, if there is no index, you can create one by clicking on +Add index and start the process again.
Using Doofinder API Requests
You can also manage indices from your website using Doofinder API to request changes in your Search Engines. For more information on this, check the Management API reference.
Combining Feeds And APIs
Doofinder, by default, processes your feeds daily.
That is enough for most sites that update their products overnight. However, if your eCommerce store manages stock on the fly, you may want to update or remove some products when they are out of stock or add new ones when you create them on your site.
This is very useful, especially when you have many documents in your search index. By combining feeds and APIs, you will not have to re-index all of them over and over, particularly when making just a few updates.
Through Doofinder APIs, you can perform single or batch operations to update certain documents in Doofinder. These updates will be applied to your search index immediately. This way, your data feed acts as the single source of truth. Each time it is processed, all the data in your index will be replaced by the contents of the feed. Doofinder will then update with the latest content on your site.
If you add items via the API and process an outdated data feed, your index will also become outdated. This can also affect you if your feed is configured to process data automatically.
Switching Between API And Feeds
Business can change, and the way you feed your Search Engines can also change. In addition, the way you add items to your search results may also need to change.
You can start working with your Search Engine by adding items via API and then change to a URL-based data feed. Remember that you will lose all existing products when you process your file feed, including those indices via API, because you used the data feed as the source of truth.
If you plan on changing the way you feed your Search Engine, we strongly recommend that you begin with a new Search Engine and perform tests there before switching the production environment. You might not need all the configurations you have already added to your old Search Engine.
What Is The Multi-Index Layer?
The Multi-Index Layer allows you to have separate types of results from different indexes in the search Layer in addition to products, such as categories or collections, blog posts, and other content you want to share.
Take a look at this example:
If you wish to implement this Layer, please click here.