Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The fcrepo-jms-indexer-pluggable 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.

Define Indexing Namespace and Mixin in CND

...

External indexing relies upon the objects 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

Definition using the REST interface

Go to http://localhost:8080/rest/fcr:namespaces and in the Register Namespace form add:

No Format

...

Prefix: indexing

...


Namespace: http://fedora.info/definitions/v4/indexing#

Go to http://localhost:8080/rest/fcr:nodetypes and in the Update CND form add:    

No Format
[indexing:indexable] mixin
- indexing:hasIndexingTransformation (STRING) multiple COPY nofulltext noqueryorder

Definition via fedora-node-types.cnd

Make sure your node definitions contain the following:

...