This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Search logic isn’t as strict as it should be

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search logic isn’t as strict as it should be

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #55571
    hozukicchanhozukicchan
    Participant

    Hi,
    We’re dealing with an issue in which all of our search instances (2 using the regular engine, 1 using the index table engine) aren’t being as strict as they should be. It’s set to use “AND with exact keyword matches” first and “AND” second, but it’s still including (and even prioritizing) results like including posts with “research” when “search” was the word used to look it up.

    #55573
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Thank you for the details, it helped a lot.

    There were a couple of minor issues with the configuration. First, I have disabled the exact matching, as it will override the keyword logic. Next, I have changed the search to the index table engine. The reason is, that the index table is far superior for exact word matching. With the regular engine there are limitations especially when words are surrounded dots, commas, parentheses etc..

    This configuration should give you more consistent exact keyword matches. Please note that the description context may not be 100% accurate where the potential match was, but still the exact matches with this configuration are going to be on the top.

    Now, in case of the keyword “search”, the only exact match is the first one, this one. Coming from this section ..trying to track down his father’s killer and thus returns anything that’s irrelevant to his search), the question of whether Kaito’s... Previously this wasn’t matched as the word in the sentence is “search)” ending in a parenthesis, which the index table trims and matches correctly.

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