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

Searching using double quotes

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Searching using double quotes

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #56245
    Steve StruttSteve Strutt
    Participant

    Hi Ernest, searching using double quotes to delimit a text string is not working for me. If I search without using double quotes, e.g. >>Miss White<<, both terms are searched for and a number of results retrieved, see MissWhite.jpg below, which shows one result where the two search terms are definitely adjacent.

    If I put the search terms in double quotes e.g. >>”Miss White”<< no results are returned as in the doublequotesearch.jpg image below. The contents of the search phrase field seem to suggest that the whole phrase, including the quotes is being searched for.

    Strangely if the quoted phrase is part of a taxonomy term assigned to a page, the result is returned as expected.

    The plugin is at 4.27.3, so includes the fix for the earlier double quote issue.

    #56249
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Are you using the index table engine or the regular engine? With the index table engine the quote search won’t do much, as not the whole text is searched but the extracted keywords – therefore adjacent keywords can’t be detected in any way.

    If the regular engine is used, then it is possible that the keywords are likely wrapped in HTML tags or something similar to that, therefore it no longer matches.

    #56252
    Steve StruttSteve Strutt
    Participant

    Yes using the index engine. OK so not supported.

    Thanks

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