diff --git a/lib/chewy/search/parameters/concerns/query_storage.rb b/lib/chewy/search/parameters/concerns/query_storage.rb index d3f30d2b5..0871881f6 100644 --- a/lib/chewy/search/parameters/concerns/query_storage.rb +++ b/lib/chewy/search/parameters/concerns/query_storage.rb @@ -5,7 +5,7 @@ module Search class Parameters # This is a basic storage implementation for `query`, `filter` # and `post_filter` storages. It uses `bool` query as a root - # structure for each of them. The `bool` root is ommited on + # structure for each of them. The `bool` root is omitted on # rendering if there is only a single query in the `must` or # `should` array. Besides the standard parameter storage # capabilities, it provides specialized methods for the `bool` diff --git a/lib/chewy/type/import.rb b/lib/chewy/type/import.rb index 92ed1cecb..6cc7f4591 100644 --- a/lib/chewy/type/import.rb +++ b/lib/chewy/type/import.rb @@ -111,7 +111,7 @@ def bulk(**options) # or normal composing under the hood. # # @param object [Object] a data source object - # @param crutches [Object] optional crutches object; if ommited - a crutch for the single passed object is created as a fallback + # @param crutches [Object] optional crutches object; if omitted - a crutch for the single passed object is created as a fallback # @param fields [Array] and array of fields to restrict the generated document # @return [Hash] a JSON-ready hash def compose(object, crutches = nil, fields: [])