dexterdeng
dexterdeng

Reputation: 249

How to give a suggestion from the sphinx index?

I wonder if there is a way to give a suggestion from the sphinx index.

for instance, when I search 'sadfasasas' on google, I get 6 results. and it said.' Do you mean "sasasasas". when I search by 'sasasasas', I get 289,000 results.

How should I do to implement this feature? (Let's say the two keywords are all right spelling. and I want to give the suggestion 'sasasasas' just because it's seems like 'sadfasasas', and it can find many results by sphinx ).

Upvotes: 1

Views: 959

Answers (1)

tmg_tt
tmg_tt

Reputation: 474

There are script, config, readme in sphinx/misc/suggest folder. You could try suggestion service out of the box.

Upvotes: 2

Related Questions