flex icon indicating copy to clipboard operation
flex copied to clipboard

The ultimate ruby client for elasticsearch.

Results 11 flex issues
Sort by recently updated
recently updated
newest added

Hi @ddnexus I'm moving the flex functions to its model and made is as callback for example: Here's my model `Category` ``` class Category < ActiveRecord::Base after_create :create_by_flex after_update :update_by_flex...

I'm trying to figure out how to rescue from a Flex::HttpError 404 404: {"found":false error. when attempting to delete an item from the index that doesn't exist. It is an...

Noticed this issue when bulk updates were reported as failed despite completing successfully. Reference: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/_return_values.html Possible update required to Flex::Result::Bulk failed/successful methods (code below) ``` def failed self['items'].reject{|i| i['index']['status'].between?(200,226) }...

Hi, How does one add dynamic templates using Flex? I could not find any references in the docs, is it possible? I wish to add a dynamic template at the...

This error suggests flex does not support ruby 1.9, is this true? I'm using Rails 4 and Ruby 2.0 (Ruby 1.8 allows each on a string, where 1.9 you must...

Link to Licence which defined in README is broken

Example: ``` class Project < ActiveRecord::Base include Flex::ModelIndexer flex.sync self def flex_source { :name => name } end module Flex include Flex::Scopes flex.context = Project scope :search_by_name, ->(name) { terms(name:...