Class: OpenSearch::DSL::Search::Queries::FuzzyLikeThis

Inherits:
Object
  • Object
show all
Includes:
BaseComponent
Defined in:
lib/opensearch/dsl/search/queries/fuzzy_like_this.rb

Overview

A query which returns documents which are similar to the specified text

Examples:


search do
  query do
    fuzzy_like_this do
      like_text 'Eyjafjallajökull'
      fields [:title, :abstract, :content]
    end
  end
end

See Also:

Method Summary

Methods included from BaseComponent

included, #initialize