Support » Plugin: CloudSearch » Searched keyword highlighting issue

  • Hi I am facing an issue with issue with the keyword highlighting on searched results.

    When we search multiple keywords for example “advanced and basic” it fetched all the posts with these two keywords but it does not highlight the these keywords in the searched result page.

    Also what is the best way to find the occurrence of searched keyword in the searched post?

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Andrea Landonio

    (@lando1982)

    Hi, have you configured the “Highlighting settings” in the plugin settings page? I’ve tried adding a #FF0000 text color and searching for:
    http://wordpress.local/?s=dolor+sit+amet

    and I get the title and the description colored.. mmm… otherwise give me some more details 😉

    Bye

    sharduld

    (@sharduld)

    Hi Andrea,

    Thanks for looking into this.

    I have configured the “Highlighting settings” & it works well if the searched keywords found it is in the post but if only one of the keyword found then it does not highlight the keyword. Consider the following examples.

    Ex1. If the post title is “This a basic post” & you search the using the keyword “basic post” then it fetch the post & highlight the words “basic post” in the title.

    Ex2. If there are two different posts with the titles as “This a basic post” & “This a advanced post”. If you search the posts by keyword as “basic & advance”
    then it fetches both the posts in the result page but it does not highlight the words “basic” & “advance” in the post title.

    • This reply was modified 2 months ago by sharduld.
    • This reply was modified 2 months ago by sharduld.
    Plugin Author Andrea Landonio

    (@lando1982)

    Ok, now it’s clear 😀
    Let me try to replicate your problem locally..

    Plugin Author Andrea Landonio

    (@lando1982)

    Hello,
    where do you search for “basic & advanced”? in the WP search page like:
    /?s=basic+%26+advanced
    ?

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