Configuration
In order for data source queries to work, the Cook must be correctly
configured to access Solr. To configure Solr access, open
cook-config.yaml
for editing and make sure the
recipe/search
section is filled out correctly:
recipedata: editor: allow-save: true search: uri-prefix: "http://my-escenic.com:8080/webservice/" solr: host: my-escenic.com port: 8983 core: editorial
The entries you need to fill out are:
uri-prefix
-
The URL of your Content Engine web service, including a final
/
character. solr/host
-
The host on which your Solr server is running. This may well be the same as your Content Engine host.
solr/port
-
The port on which your Solr server is listening. Solr listens by default on port 8983.
solr/core
-
The Solr core the Cook is to use. In a production environment, the Cook should always be configured to use Solr's
presentation
core. In a development environment, however, it is often the case that nopresentation
core is available since a default Content Engine installation does not include one. So for development purposes, use theeditorial
core if nopresentation
core is available.