chat bot implementation with lucene