Class: PhraseParser::QueryParser

Inherits:
Parslet::Parser
  • Object
show all
Defined in:
lib/doing/phrase_parser.rb

Overview

This parser adds quoted phrases (using matched double quotes) in addition to terms. This is done creating multiple types of clauses instead of just one. A phrase clause generates an Elasticsearch match_phrase query.