The fcrepo-message-consumer expects nodes to have a type of "http://fedora.info/definitions/v4/indexing#indexable" and to specify an indexing transformation. The following steps can be used to set up the namespace and create and register that mixin with your repository.
External indexing relies upon the resources you wish to have indexed to have an indexing:indexable mixin property. This can be done using the REST interface or via the fedora-node-types.cnd
Go to http://localhost:8080/rest/fcr:namespaces and in the Register Namespace form add:
Prefix: indexing Namespace: http://fedora.info/definitions/v4/indexing# |
Go to http://localhost:8080/rest/fcr:nodetypes and in the Update CND form add:
[indexing:indexable] mixin - indexing:hasIndexingTransformation (STRING) multiple COPY nofulltext noqueryorder |
Make sure your node definitions contain the following:
<indexing = 'http://fedora.info/definitions/v4/indexing#'> [indexing:indexable] mixin - indexing:hasIndexingTransformation (STRING) multiple COPY nofulltext noqueryorder |
The standard configuration chain is as follows: