Versions Compared

Key

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

To support the differing needs for sophisticated, rich searching, Fedora 4 comes with a standard mechanism and integration point for indexing content in an external service.  This could be a general search service such as Apache Solr or a standalone triplestore such as Sesame Fuseki or Fuseki.Blazegraph


To set up external index and searching you must:

...

Install and configure standalone search applications

fcrepo-message-consumer currently supports the following triplestoresThe following search applications have been tested:

 

Tip

See the External Triplestore page for more details on the triplestore setup.

 

fcrepo-message-consumer currently supports the following indexer:

Tip

See the Solr Indexing Quick Guide to get quickly up and running with a Fedora 4 Solr integration.

...

Install and configure fcrepo-

...

camel-toolbox

The following github page has detailed instructions as to how to set up fcrepo-messagecamel-consumertoolbox.   This standalone app listens to messages produced by fcrepo4 and invokes the search applications as configured:

https://github.com/fcrepo4-exts/fcrepo-message-consumer

Mark a resource as Indexable and assign an appropriate indexing transformation

For a resource to be indexed it must:

  1. have the rdf type http://fedora.info/definitions/v4/indexing#Indexable
  2. (optionally) have the property http://fedora.info/definitions/v4/indexing#hasIndexingTransformation set to a registered index transformation
Tip
titleIndexing Transformations

A default indexing transformation exists that maps the appropriate properties to the field names "title", "uuid" and "id".  To meet your needs, you can write and register custom indexing transformations.

Create new objects with indexing properties

For an object to be indexed it must have a rdf:type of indexing:Indexable, and optionally a indexing:hasIndexingTransformation corresponding to an LDPATH program.

...

titlecreate object

...

camel-toolbox