Suppose there is a SQL query:
SELECT * FROM articles WHERE MATCH (title, body) AGAINST ( '+Привет +"Как дела" +Отлично +"хорошее настроение" +"Салон Связи"' IN BOOLEAN MODE);
How can I get back + the words for which the article was found?
PS interested in a solution for PHP.
if (preg_match('~AGAINST\h*\(\'\K[^\']+~i', $text, $match)) echo $match[0];
- Deadooshka