Skip to content

Releases: parpalak/rose

v0.3.3

06 Jan 11:52
Compare
Choose a tag to compare

Revised algorithm for calculating relevance

  1. The main factors influencing the relevance are taken into account:

    • number of words found in a text (influence updated in this release)
    • abundance of words in all indexed texts (frequent words have less influence on relevance)
    • proximity of different found words from a query to each other (influence updated in this release)
  2. Processing of words from titles and from keywords was refined. Now titles are more important, and there is no double counting of relevance from repeating words in both title and keywords.

  3. The debug call $resultSet->getTrace() contains more information about the influence of each factor in the overall relevance.

Other features

  • Implemented highlighting of a whole phrase for adjacent search words (closes #9).
  • Added new method ResultSet::getTotalCount() that can be useful for building pagination links (page 1, page 2, ... page N).
  • Added new method PdoStorage::getIndexStat() for the disk usage of index tables in database.
  • Refinements in Russian stemmer.
  • Improved html cleanup for snippets (contents of <style> and <script> tags are now being removed).

v0.3.2

27 Jun 21:12
Compare
Choose a tag to compare
Moving to github actions.

v0.3.1

01 Jun 20:23
Compare
Choose a tag to compare

Fixed issues of unique word index and utf8 collations.

v0.3.0: Merge pull request #16 from parpalak/instances

01 Mar 21:43
16f749e
Compare
Choose a tag to compare
Implemented dividing search index into parts (instances) that can be used independently

v0.2.5

14 Aug 19:15
Compare
Choose a tag to compare

Added full support for multi-language morpology.

v0.2.4

27 Jun 21:05
Compare
Choose a tag to compare
Another fix for utf8mb4 support.

v0.2.3

01 Jun 22:06
Compare
Choose a tag to compare
Fixed tests for PHP 7.2 and 7.3.

v0.2.2

07 May 21:12
Compare
Choose a tag to compare
Fixed utf8mb4 support.

v0.2.1

08 Aug 19:54
Compare
Choose a tag to compare
Fixed XSS when highlighting text with correctly encoded HTML entities.

v0.2.0

11 Feb 11:01
Compare
Choose a tag to compare
Removed TOC caching and fetching all the TOC entries.