lucene has a strategy for understadning then indexes files are not closed correctly or not? is there a way for saving a counter status when a commit is done so i can check if the maximun counter is equal to commit counter?
i might insert this code after commit line.