-
Notifications
You must be signed in to change notification settings - Fork 8
RetrievalIndexer: purge index
loic911 edited this page Nov 24, 2014
·
2 revisions
An indexer is a little client that add/delete pictures on a specific server. The indexer can purge, list images and storages too.
The purge method remove image data from retrieval index. Its an heavy operation but, if you delete a lot of images, it reduce the size of the index and improve performance. For performance reason, the delete method just remove image from results, it doesn't remove image data from index. The purge method browse each index entry and check if a previous deleted image is in the entry value.
./purger.sh host port
Example:
./purger.sh localhost 1234
See the indexer Constructor from RetrievalIndexer section. The method is:
public void purge()
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 |
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