"Did you mean" search suggestion feature

  • johnnyash
    Participant
    # 9 months, 2 weeks ago

    Hello, is it possible to access the “Did you mean” search suggestion feature within my custom template?

    This page is not so clear: https://www.wpsolr.com/knowledgebase/which-search-templates-are-available/

    Thank you

    wpsolr
    Keymaster
    # 9 months, 2 weeks ago

    Hello,

    The “Did you mean” feature works as follow:
    1) A search is performed on some keywords
    2) No results are retrieved
    3) Suggestions are retrieved for the keywords, based on the spellchecking setting from the index type/schema
    4) A second search is performed on the first suggested keywords (if suggestions are not empty)
    5) The search template display the results from the suggested search

    Everything is automatic, and works in the background.

    jerome.tan
    Participant
    # 8 months ago

    Sorry to hijack the thread, where does this usually output? It doesn’t seem to be working for me.

    wpsolr
    Keymaster
    # 8 months ago
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.