...
Indexing Multiple Repositories
...
Reindexing
Warning |
---|
This feature is unreleased, and only available by downloading and building jms-event-listener from Github. |
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 | ||
---|---|---|
| ||
$ 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/foo/bar), and all of its children:
Code Block | ||
---|---|---|
| ||
$ curl -X POST http://localhost:8082/reindex/foo/bar |
To index just the resource at repository path /foo/bar, but not recursively reindex its children:
Code Block | ||
---|---|---|
| ||
$ curl -X POST http://localhost:8082/reindex/foo/bar?recursive=false |