Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: DDMIndexerUtil in Liferay 7.3
Krzysztof Gołębiowski, modified 5 Years ago.
Liferay Master
Posts: 549
Join Date: 6/25/11
Recent Posts
Hi everyone,
In Liferay 6.2 it was common to use DDMIndexerUtil.encodeName(...) to resolve index field names for fulltext search. In Liferay 7.3 I found the same class in asset-list-service package but it seems to be internal and is not even exported with OSGi. Is there any new API/Wrapper that delivers this functionality or it has just been forgotten?
In Liferay 6.2 it was common to use DDMIndexerUtil.encodeName(...) to resolve index field names for fulltext search. In Liferay 7.3 I found the same class in asset-list-service package but it seems to be internal and is not even exported with OSGi. Is there any new API/Wrapper that delivers this functionality or it has just been forgotten?

Krzysztof Gołębiowski, modified 5 Years ago.
Liferay Master
Posts: 549
Join Date: 6/25/11
Recent Posts
Hmm, that is a groovy script so I was looking for simple static util, but you're right - if it's not available the only way to go is to get the service. I added all the Bundle/ServiceTracker code to retrieve it and now it works fine, thanks for the idea.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™