Fix idfs calculating problem.
Add test data.
Add documents filtering with Keywords
Add query filtering with keywords.
Add some more checks and error messages.