check for null value
Indexer: implement update document
rename can replace indexed file from unindexed file
commit database on each document visit

prevent commit method to throw an exception.
Should be really slow, need to split document visit to more thread.