Class: Eson::Search::Match

Inherits:
FieldBased show all
Includes:
Query
Defined in:
lib/eson/search/match.rb

Instance Attribute Summary

Attributes inherited from FieldBased

#field, #options

Instance Method Summary collapse

Methods included from Query

included, #method_missing

Methods inherited from FieldBased

#initialize, #to_query_hash

Constructor Details

This class inherits a constructor from Eson::Search::FieldBased

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Eson::Search::Query

Instance Method Details

#match { ... } ⇒ self

Generates a ‘match` query in a query context.

Yields:

  • the block containing further options and subqueries

Returns:

  • (self)

    the generated facet



7
# File 'lib/eson/search/match.rb', line 7

short_name :match