Improved Disk Space Utilization for Elasticsearch and OpenSearch Deployments
To reduce disk space usage on the search engine side, we have optimized default field mappings which no longer use stored fields. Instead, the platform uses the fields parameter as the default document field retrieval method.
Important Considerations for Administrators:
- Review Advanced Settings: Administrators should carefully examine the "Additional Type Mappings" and "Override Type Mappings" settings within the search engine connector configuration.
Compare with Defaults: After reviewing the advanced settings, compare the existing mappings to the new defaults to identify potential adjustments. While stored fields are still supported, they are not recommended.
Potential Impact on Custom OSGi Modules:
While most users should experience seamless transitions, developers of custom OSGi modules that utilize Liferay's Java Search APIs may encounter changes in search response behavior. This could occur if the modules rely on specific fields being included in the search response. In such cases, developers may need to make adjustments to their modules to ensure correct functionality.