Versions Compared

Key

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

...

Code Block
languagebash
$ curl -X POST http://localhost:8082/reindex/foo/bar?recursive=false 

Indexing Multiple Repositories to a single Triplestore

To have an external triplestore spanning multiple repositories, we need to install and setup the three components (Triplestore, Fedora 4 Repository and JMS Event listener/indexe) as follows:

  1. Follow the instructions above to install the triplestore (Fuseki or Sesame) in one machine and start it.

  2. Follow the instructions above to install two or more Fedora 4 Repositories in different machines and start them.

  3. Install JMS Event listener/indexer (https://github.com/futures/fcrepo-jms-indexer-pluggable) for each Fedora 4 repository installation and start the indexer with the following command:

    Code Block
    languagebash
    $ mvn -D jetty.port=9999 -Dfuseki.host=<triplestore.host.name> -Dfcrepo.host=<repository.host.name> jetty:run
  4. Notes -

    • Start the triplestore first. If the triplestore restarted, then the JMS Event listener/indexer need restart too.