-
Notifications
You must be signed in to change notification settings - Fork 9
RetrievalIndexer: delete image
loic911 edited this page Nov 24, 2014
·
1 revision
An indexer is a little client that add/delete pictures on a specific server. The indexer can purge, list images and storages too.
The indexer is able to delete image from a server. The delete action just removes the image from the results. It doesn't remove image data from the big CBIR index (heavy operation). To do that, you need to run a Purge operation.
./deleter.sh host port ids
./deleter.sh localhost 1234 123
./deleter.sh localhost 1234 45345634,56756856,3243255
| index | name | description | type |
|---|---|---|---|
| 0 | host | A RetrievalServer host | String |
| 1 | port | A RetrievalServer port | Integer |
| 2 | Picture URI | An image URI (File or URL) | String |
| 3 | Image ids | Image ids to delete (comma sep) | List |
Link to the javadoc: TODO
See the indexer Constructor from RetrievalIndexer section. The method is: public abstract Map<Long, CBIRException> delete(List ids) public abstract Map<Long, CBIRException> delete(Long id)
Documentation:
- Home/Quickstart
- License/Authors
- How to run a server
- How to index an image
- How to search for similar images
- How to delete an image
- How to list images
- How to list storages
- How to use Redis as database
- How to have an HTTP REST API
- [How to improve performance] (https://github.com/loic911/CBIRetrieval/wiki/Improve-perf)
- How to have a distribued architecture