You can still use your previous methods of configuration via an index setting and decide when you want to use this new API. We’re primarily developers and fully comprehend the importance of backward compatibility. Configuring the same synonyms on replica indices was a time-consuming process and left something to be desired for.Long lists of (thousands of) synonyms impacted the performance of the getSettings API call and the performance of search to a certain extent (settings are read when opening an index).Adding more synonyms had become a challenge (you could not use the dashboard to configure a large set of synonyms but had to write a few lines of code to push all of them as a new index setting).This approach worked perfectly well if you needed to add just a few synonyms but it became harder to manage with regard to speed if a lot of synonyms needed to be on the list. Up until today, you had to configure synonyms via an index setting. We’ve made significant improvements to our synonyms feature since its inception, but we also know that the configuration methods for it need work. Today, Algolia is excited to announce the release of a dedicated API for you to manage synonyms! Why a new API? It even supports advanced features such as placeholders. Over the last two years, we’ve refined and reworked our synonyms feature to make it one of the most comprehensive in the market. It now supports almost all types of expressions: multi-word expressions, abbreviations, expressions containing symbols and more. Therefore incorporating synonyms has played a crucial part in making our search “intelligent”. We appreciate that different people search for the same things using different queries and keywords.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |