Yuriy Bakhtin 0a97d4f68e
Content Search: use AND operator by default and don't apply mask for phrases (#6979)
* Content Search: use AND operator by default and don't apply mask for phrases

* Fix test

* Fix SearchQueryTest

* Fix creating of FULLTEXT index for mysql 8+

* Fix mysql search driver for short words

* Improve keyword highlighting

* Use fixed value instead of `mysql.ft_min_word_len`

* Exclude highlighting on console request

* Escape special char `@` on mysql search driver

* Escape special chars on mysql search driver

* Escape char `/` on mysql search driver

* Escape quote chars on mysql search driver

* Improve word highlighting with quote or apostrophe

* Add code comment for search query and driver

* Refactor search query

* Fix test for ZendLucence Driver

* Fix ZendLucence Driver for phrases

---------

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
2024-05-21 17:20:02 +00:00
..
2024-02-08 15:15:08 +01:00