Laravel TNTSearch keyword matchings

Viewed 111

Using Laravel TNTSearch how can I define different cases for keywords to end up with the same result on query.

Having the following keyword Softwareentwickler I want to be able to get the same result on Software-Entwickler keyword as well.

Is there any workaround for this case?

1 Answers

The technique you want is called query expansion. What you have to do is simply replace the query with the one you want and perform the search.

Take a look at this

Here, when someone searches for Russia it will replace the query with russian federation

Related