How to disable re-indexing of all Journal Article Versions in Liferay DXP

Leave a Comment
In case if you have to turn off re indexing all Journal Article version then you can do this by placing below property in portlet-ext properties file. Yes its portlet-ext.properties not portal.properties.

#
# Set this to true to index all article versions. Set this to false to index
# only the last indexable version.
#
journal.articles.index.all.versions=false



In Liferay DXP portlet specific property has been moved to portlet.properties file and all portal specific property can be found in portal.properties.

Any property of portlet.properties can be overridden by portlet-ext.properties similar way we override portal.properties by using portal-ext.properties file.

Multiple out of box modules can have its own portlet.properties file but multiple portlet.properties can be overridden by one property file called portlet-ext.properties.

 You need to keep portlet-ext.properties file under below location of app server.

[Liferay_Home]/webapps/root/WEB-INF/classes
Read other posts on Liferay DXP

How To Include Static Resources (CSS/JS/Images) In Liferay OSGI Module
How To Include Custom Portlet In Theme - Liferay DXP
How To Specify External Jar Dependency In Liferay DXP
How To Specify Module Dependencies In Liferay DXP
How To Read Portlet.Properties File In Liferay DXP

Next PostNewer Post Previous PostOlder Post Home

0 comments:

Post a Comment