Hi guys,

I have a few questions for maintaining the health of the index in the C library.

1- How do we check that the index is healthy for SEARCHING (e.g. creating a 
searcher) without a crash? As I see there is no problem in creating a Searcher 
even if there is a lock (write.lock or merge.lock)

2- How do we check that the index is healthy for INDEXING (e.g. creating a new 
indexer). I believe if the index is healthy(answer to the first question) and 
there is no LOCK file (e.g. write.lock or merge.lock), then we can assume that 
index is healthy and we can create a new indexer, right. (Assuming that there 
is no write permission issues or no disk space issues)

3- What are the lock types? As far as I see there are only write.lock and  
merge.lock. Are there any others? If we close the application calling Lucy 
before the indexer is destroyed, is there an index recovery strategy. What 
would the implications of simply deleting write.lock and merge.lock be?

Thanks,
Serkan

Reply via email to