v2.0
New features
In this version, performance has been optimized for searching among a large number of items (for example, > 10 000 of items are indexed, and > 1000 of items fall under the search criteria). Two changes have been made to achieve this:
-
Refactored the way of storing information about words in the title and keywords. Fulltext index is now used to store them. Therefore, the keyword_index and keyword_multiple_index tables are no longer needed in the database index.
-
The consideration of external relevance ratios has been moved into the main query of the full-text search. In the old version, applying limit to queries did not provide any optimization because the external relevance was taken into account at the PHP code level after the query was executed.
Bugs
- Fixed the missing highlighting in snippets for some English words (e.g., those ending in "y").
Backward compatibility breaking changes
Due to the refactoring, the calculation of the impact of keywords on relevance has changed. There may be slight changes in the sorting order for queries that include keywords.
Some internal interfaces have been changed, e.g. StorageReadInterface, StorageWriteInterface, IrregularWordsStemmerInterface. If you used a custom storage or a stemmer, code adjustments may be required when updating to the current version.
In other cases, it is necessary and sufficient to re-index content when updating. However, the keyword_index and keyword_multiple_index tables have to be removed manually so that these unnecessary tables do not occupy space anymore.