v5.2.0
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
-termnegation now excludes results (AND-NOT) instead of unioning the NOT set, and no longer crashes on two negations (#263, #246, #267) searchBoolean()now returns adocScoreskey, matchingsearch()(fixes "Undefined index: docScores" in Laravel Scout) (#278)filesystemMapIdsToPaths()returnsnullfor 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 inTNTGeoSearchto avoidNANdistances silently dropping the closest result (#357) RedisEngine::createIndex()no longer throws "must not be accessed before initialization" on the typed$dbhproperty- 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