سؤال

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 ).

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top