Fixed error with document id and stemming empty terms.
Small change to database to_string()
Merge pull request #32 from luuse/file_watcher

Fixed error with document id and stemming empty terms.