Skip to content

RetrievalIndexer: delete image

loic911 edited this page Nov 24, 2014 · 1 revision

Delete image

An indexer is a little client that add/delete pictures on a specific server. The indexer can purge, list images and storages too.

Presentation

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.

Execute

./deleter.sh host port ids

./deleter.sh localhost 1234 123

./deleter.sh localhost 1234 45345634,56756856,3243255 

Parameters/Config

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

Code

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)

Clone this wiki locally