Open al-ah opened 5 years ago
can change/add this to elasticsearch.rb :
# elasticsearch query in DSL format.
config :query_dsl, :validate => :string , :default => nil
def register
@clients_pool = java.util.concurrent.ConcurrentHashMap.new
#Load query if it exists
#if @query_template changed to this :
if @query_dsl.nil? && @query_template
.....
end # def register
i need set @query_dsl parameter directly , without using query_template like this :