FIX: #101 implement query parser and use it inside autocompletion and search query extraction