Versions Compared

Key

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

...

If you have a repository with existing content that you want to index, or have changed your indexing logic and want to reindex content, you can use the reindex REST API call in the indexer webapp.

To reindex all resources:

Code Block
languagebash
$ curl -X POST http://localhost:8082/reindex/ 

To index the resource at repository path /foo/bar (i.e., at the URL http://localhost:8080/rest/fooobjects/bar), and all of its children:

Code Block
languagebash
$ curl -X POST -d baseURI=http://localhost:8080/rest/objects/ http://localhost:8082/reindex/foo/bar

To index reindex just the resource at repository path http://localhost:8080/rest/objects/foo/bar, but not recursively reindex its children, add the recursive=false parameter:

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

Anchor
multi
multi
Indexing Multiple Repositories to a single Triplestore

...