edp search Developer Legacy

Content from EDP not displayed in the search results

Question

I have an external data source implementing ExternalDataSource.Searchable but when I run a search I don't see the results from the EDP using the tag s:results .

The custom search() method from EDP implementation is returning nodes but the UI is not showing them.

Answer

The content (node from EDP) must have an associated template so the tag s:results can consider this node a displayable one.

Please follow this documentation to create a content template for the nodetypes you are using in your EDP.

Another option is to set the following property in digital-factory-config/jahia/jahia.properties :

search.displayableNodeCompat = true