fefe
fefe

Reputation: 9055

Laravel TNTSearch keyword matchings

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?

Upvotes: 1

Views: 274

Answers (1)

Nenad
Nenad

Reputation: 3566

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

Upvotes: 1

Related Questions