• Resolved squarestar

    (@squarestar)


    I am working on a search feature for a site and using Relevanssi Light. It seems to be doing a great job of providing results quickly. However there’s one wrinkle which is that partial search terms are not matching.

    In the link provided there are no search results, but by adding “y” to the end of the search term, a number of results are found. I would like to be able to get those results to show up when the “y” is missing. Is that possible?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mikko Saari

    (@msaari)

    The default Natural Language mode does not support partial matching. If you enable the Boolean Mode with

    add_filter( 'relevanssi_light_boolean_mode', '__return_true' );

    you can then use the wild card operator to get partial matches: solidarit*

    But even that won’t automatically do partial matching. That’s a limitation of the full text search engine.

    Thread Starter squarestar

    (@squarestar)

    Thanks Mikko

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possible to use partial matches?’ is closed to new replies.