Message Boards

DDMIndexerUtil in Liferay 7.3

thumbnail
Krzysztof Gołębiowski, modified 3 Years ago.

DDMIndexerUtil in Liferay 7.3

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? emoticon
thumbnail
Krzysztof Gołębiowski, modified 3 Years ago.

RE: DDMIndexerUtil in Liferay 7.3

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.