Hello,
We are using EspoCRM v5.7.11 + MariaDB 10.0 for about 6 months. We are using espoCRM about 4 years ago and everything works fine.
Now we are looking to Full Text Search option for emails, it works: requests on email give results using the option to force FTS: ft:+word1+word2... If we "don't force with ft:", it sometimes don't use the FTS index.
However, this is not very "user friendly" (users always search word1 word2 and don't know about + or - or whatever) and we think results could be better. Is everybody satisfied with the results?
We are looking for a solution to sort emails by relevance score (+date sent) but the only option alowed is sort by date. No field relevance (moreover hte order by should be MATCH(columns) AGAINST ('what is searched' IN NATURAL LANGUAGE MODE)).
The best case would be ordering by relevance score (if two words are found, they will be presented first and if only one, it will be at the end).
Is it posible? Anybody tried to do that?
Another solution could be to add "ft:" and "+" for each word modifying js or something like that.
The last thing we want to do is to modify the PHP SQL request.
Any suggestions?
Thanks
We are using EspoCRM v5.7.11 + MariaDB 10.0 for about 6 months. We are using espoCRM about 4 years ago and everything works fine.
Now we are looking to Full Text Search option for emails, it works: requests on email give results using the option to force FTS: ft:+word1+word2... If we "don't force with ft:", it sometimes don't use the FTS index.
However, this is not very "user friendly" (users always search word1 word2 and don't know about + or - or whatever) and we think results could be better. Is everybody satisfied with the results?
We are looking for a solution to sort emails by relevance score (+date sent) but the only option alowed is sort by date. No field relevance (moreover hte order by should be MATCH(columns) AGAINST ('what is searched' IN NATURAL LANGUAGE MODE)).
The best case would be ordering by relevance score (if two words are found, they will be presented first and if only one, it will be at the end).
Is it posible? Anybody tried to do that?
Another solution could be to add "ft:" and "+" for each word modifying js or something like that.
The last thing we want to do is to modify the PHP SQL request.
Any suggestions?
Thanks
Comment