Seek for cms search setting advise

Elaine Wong via opencms-dev <[email protected]> Thu, 21 Sep 2023 01:06:50 +0000
Newsgroups gmane.comp.cms.opencms.devel
Message-ID <[email protected]>
Dear Sir / Madum,

We are now trying to move our website from opencms 8.5 to opencms 15

We would like to add a content search feature in our website with the following behaviour:
When user search in locale zh_HK with English keyword, cms search should also look up locale en content and return the en content if the en content match the searching keyword.

Now, we are able to search en content, but it cannot show the en_excerpt / highlightSnippet of en content.

As we was using opencms 8.5 before, and it would able to return the search result regardless the current locale.

E.g.
a.html
en title : Testing
en content : Testing ABC

zh_HK title : 測試
zh_HK content : 測試 ABC

In opencms 8, when user search “Testing” in locale zh_HK search page, the following information will be result
Testing
Testing ABC

However, in opencms 15,
Testing
<blank>

Would you advise how should we config the search setting in order to obtain the same result as opencms 8?

How to config the cmssearch to ignore the locale

Thanks!

Best Regards,
Elaine

________________________________

Think before you print.

Disclaimer: This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Computer And Technologies Holdings Limited and her wholly owned subsidiaries. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone.  Please contact the sender if you believe you have received this email in error.

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
https://lists.opencms.org/mailman/listinfo/opencms-dev