Use ES for contextual chatbot

Is it practical to use ES tf-idf nature to predict user intent based on user query (text classification)?

You may be able to do it with a "more like this" query or a suggester I guess, or even graph, but it's not really anything ES was built for. Interesting use case though!