Feature extraction using Naive Bayes classifier and ElasticSearch