Sha256: f1715d76ef546adc2d1f3368b6c502559be9d0621bbf3717e9c2eac99e670092

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

require "transformator/transformation"
require_relative "../search"

class Skala::ElasticsearchAdapter::Search::RequestTransformation < Transformator::Transformation
  require_directory "#{File.dirname(__FILE__)}/request_transformation"

  def call(source, options = {})
    options[:target] ||= {}
    super(source, options)
  end

  sequence [
    AddAggregations,
    AddFrom,
    AddQuery,
    AddSize,
    AddSort,
    AddVersion
  ]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
skala-1.1.0 lib/skala/elasticsearch_adapter/search/request_transformation.rb