Skip to content

v5.2.0

Choose a tag to compare

@nticaric nticaric released this 11 Aug 11:13
· 8 commits to master since this release

Added

  • SqliteEngine::createIndex() now creates the storage directory if it doesn't exist (#304)

Fixed

  • Preserve the exact match in fuzzy search results — SqliteEngine & MysqlEngine (#302)
  • Multibyte-aware Levenshtein distance so fuzzy search works correctly for Cyrillic/UTF-8 terms (#193)
  • Boolean -term negation now excludes results (AND-NOT) instead of unioning the NOT set, and no longer crashes on two negations (#263, #246, #267)
  • searchBoolean() now returns a docScores key, matching search() (fixes "Undefined index: docScores" in Laravel Scout) (#278)
  • filesystemMapIdsToPaths() returns null for an id with no filemap row instead of silently coercing to $res[0] (#130)
  • Highlighter no longer re-highlights the markup it injected for earlier terms (#274)
  • Clamp acos() domain in TNTGeoSearch to avoid NAN distances silently dropping the closest result (#357)
  • RedisEngine::createIndex() no longer throws "must not be accessed before initialization" on the typed $dbh property
  • Fix selectIndex()/createIndex() writing terms to the previously selected index when switching indexes in one process (Laravel Scout with multiple models)

Full Changelog: v5.1.0...v5.2.0