The Search and Retrieve API provides a means for looking up content from an application based on search criteria including related content and returning the relevant fields for a specific use case. The application can be an iOS or Android mobile app or it could be a web application or a web site requesting the content. The Search and Retrieve API can be used to search for any content, but it is especially useful for h
eadless content because it allows for referenced content to be included and it also offers field filtering. It is very fast thanks to
it its use of the
Apache Solr search engine and because it retrieves content via the XperienCentral cache. The search queries are concise and written either in JSON
, which is usually used when querying from code
, or in YAML which is easier to read and write when developing or testing queries.
In order to use this functionality, you need This functionality requires XperienCentral versions R32 and higher or versions R27 and higher if you have the the Headless Add-on upgraded to version versions 2.2.5 or and higher. The setting search_retrieve_enabled
in the headless_search_retrieve
section on the General tab of the Setup Tool must be enabled. A free tool that is useful for sending these types of requests is Postman.
...