Search Headless APIs
7.4 U88+ and GA88+
You can search with headless APIs using the endpoints at /o/search
.
Enabling Search Headless APIs
To enable the search headless API’s endpoints, set its feature flag to true
with the Instance Settings → Feature Flags application or a portal property. To enable using a portal properties file, add this to portal-ext.properties
:
feature.flag.LPS-179669=true
To enable using an environment variable, add this to your configuration:
LIFERAY_FEATURE_PERIOD_FLAG_PERIOD__UPPERCASEL__UPPERCASEP__UPPERCASES__MINUS__NUMBER1__NUMBER7__NUMBER9__NUMBER6__NUMBER6__NUMBER9_=true
The search headless API’s /search
POST endpoint moved from beta feature flag to release feature flag in Liferay 7.4 2024.Q3/GA125.
Search Headless API Availability
The search headless API was released behind a beta feature flag in Liferay 7.4 U88/GA88. It was moved to a release feature flag in Liferay DXP 2024.Q3/Portal GA125.
Liferay Version | Feature Status | Feature Flag [Label] |
---|---|---|
DXP 7.4 U88 Portal 7.4 GA88 | Beta Feature | ✔ [Search Headless API (LPS-179669)] |
DXP 2024.Q3+ Portal 7.4 GA125+ | Release Feature | ✔ [Search Headless API (LPS-179669)] |