suggest multiple words

  • webmasterbslnl
    Participant
    3 years, 8 months ago #24793

    Hi, is it possible to tweak SOLR and/or WPSolr so that whenever someone types in “studen” it will not only suggest only single keywords like “students”, “studeren”, “studenten” etc. but also suggest ‘student corner’ (which contains multiple keywords)?
    Thanks,
    Harmen

    wpsolr
    Keymaster
    3 years, 8 months ago #24794

    I’m not sure it is possible out of the box with Solr.

    According to https://blog.griddynamics.com/implementing-autocomplete-with-solr/, getting Solr ordered multi-terms suggestions require a custom TokenFilter development.

    For Elasticsearch, WPSOLR uses the default Phrase suggester.

    webmasterbslnl
    Participant
    3 years, 7 months ago #24813

    Thanks for pointing me in the right direction!

    wpsolr
    Keymaster
    3 years, 7 months ago #24814

    Let me know if you find something that you’d like to be integrated in WPSOLR core.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.