Class: PhraseParser::Query

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

Overview

Query object

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clauses) ⇒ Query

Returns a new instance of Query.

Instance Attribute Details

#must_clausesObject

Returns the value of attribute must_clauses.

#must_not_clausesObject

Returns the value of attribute must_not_clauses.

#should_clausesObject

Returns the value of attribute should_clauses.

Instance Method Details

#clause_to_query(clause) ⇒ Object

#match(term) ⇒ Object

#match_phrase(phrase) ⇒ Object

#to_elasticsearchObject