Remove all entries from the index under a given directory
an existing index object
container directory path
stage to search
0 or an error code