This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 7 months, 3 weeks ago.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Highlight original keywords defined by synonyms
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 7 months, 3 weeks ago.
Hi,
I think the index table engine allows me to define synonyms and hit that page in the search results, but it does not highlight the search string in the search results because it is not the original keyword.
Is it possible to highlight the original keywords defined in the synonyms that are included in the content?
Thank you for your support.
Hi,
I’m afraid this is not possible. Usually I recommend a custom coded snippet when possible to resolve a case, but this is way more complicated than that.
Best,Thank you for your reply.
BTW, is there an API to get synonym keywords from original keyword?
I looked at the knowledge base but could not find it.
Well, there is no API, but you can access them very easily programmatically:
ASP_Synonyms::getInstance()->get('word'); // Array of synonyms, empty if none
You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |