Support » Plugin: Ajax Search Lite » Exact search for results page

  • Hey!

    I’m trying to set it up so the search results page shows an exact match. Right now, if you search for ‘iPhone 12 book case’, it will also show iPhone 12 Pro/Max book cases. Is it possible to only show the exact search on the search page?

    I also tried enabling the option to show exact matches, but it only applies to live search (which we like as it is right now).

    Thank you in advance for your help.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    Make sure to enable the search override feature, it should resolve the issue.

    Best,
    Ernest M.

    Thread Starter paradisiac

    (@paradisiac)

    Hi,

    It still shows other models if I search for iPhone 12 (it shows iPhone 12 Pro too etc).

    Thank you.

    Plugin Author wpdreams

    (@wpdreams)

    Hi,

    I checked on your site, but the override does not seem to be enabled. When I do a search, I don’t see the query parameters added by ajax search lite. Can you please check?

    Best,
    Ernest M.

    Thread Starter paradisiac

    (@paradisiac)

    Hi! I disabled the feature as it only added the parameters to the URL, but the results were the same.

    It’s activated once again, you can check it out.

    Many thanks!

    Plugin Author wpdreams

    (@wpdreams)

    Thank you!

    Right now, when I am doing a search via the search bar, I am getting the same results as in the live search: https://i.imgur.com/IEyjJAI.png
    Is that not correct?

    Thread Starter paradisiac

    (@paradisiac)

    That is correct, but that’s not the challenge I’m trying to explain.

    When you search for iPhone 12 book case, you also see iPhone 12 Pro, iPhone 12 Max products. We only want to showcase products related to searched model (in this case iPhone 12 book cases or any other products only)

    Many thanks for your time!!

    Plugin Author wpdreams

    (@wpdreams)

    Earlier you said, that you applied the exact matching, but it only applied for the live results. I assumed the live results were ok? Are those matches not okay when the exact matching is enabled?

    Thread Starter paradisiac

    (@paradisiac)

    The live search is currently okay, we don’t care if live search shows other series. We just want to show exact product match on search results page.

    1) I search for iPhone 12 book case
    2) I want only iPhone 12 book cases, not iPhone 12 Pro and iPhone 12 Pro Max

    Plugin Author wpdreams

    (@wpdreams)

    The plugin can either can push the same results to the results page as seen in the live results list, or leave it as it is (when the search override feature is disabled).

    If you turn on the exact matches only, then the exact word ordering has to match as well.
    You can try the “AND with exact keyword matches” logic as well, but that will not exclude the “iphone 12 pro book case” when searching “iphone 12 book case” since all keywords match that phrase.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.