-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor improvement to index_exists? using correct es api call #51
base: master
Are you sure you want to change the base?
Commits on Mar 25, 2013
-
Allow multi_get to take a hash
This patch lets you pass arbitrary multi_get queries to elasticsearch. Before this patch, there was no way to select the fields to return.
Configuration menu - View commit details
-
Copy full SHA for 3fce337 - Browse repository at this point
Copy the full SHA 3fce337View commit details -
Configuration menu - View commit details
-
Copy full SHA for 967ffad - Browse repository at this point
Copy the full SHA 967ffadView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd8d510 - Browse repository at this point
Copy the full SHA bd8d510View commit details -
Configuration menu - View commit details
-
Copy full SHA for b203826 - Browse repository at this point
Copy the full SHA b203826View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68cc4d8 - Browse repository at this point
Copy the full SHA 68cc4d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for da0968a - Browse repository at this point
Copy the full SHA da0968aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 573be55 - Browse repository at this point
Copy the full SHA 573be55View commit details -
set default index and type from server url
This is helpful on Heroku where server urls include the index. ElasticSearch.new("http://127.0.0.1:9200/index/type" sets default_index to "index" and default_type to "type". You can still change them with the default scope accessors and by passing :index and :type options. Fixes #31
Configuration menu - View commit details
-
Copy full SHA for e64fb9c - Browse repository at this point
Copy the full SHA e64fb9cView commit details -
don't require a specific bundler
Bundler 1.1 is the business.
Configuration menu - View commit details
-
Copy full SHA for c7cb0dd - Browse repository at this point
Copy the full SHA c7cb0ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c786db - Browse repository at this point
Copy the full SHA 2c786dbView commit details -
update README to show new url instantiation
README needs some love! It kinda sucks.
Configuration menu - View commit details
-
Copy full SHA for 08b0347 - Browse repository at this point
Copy the full SHA 08b0347View commit details -
New in this version: * Compatibility with Heroku ELASTICSEARCH_URL
Configuration menu - View commit details
-
Copy full SHA for 61b7efb - Browse repository at this point
Copy the full SHA 61b7efbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a7dfe6 - Browse repository at this point
Copy the full SHA 6a7dfe6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 896dea5 - Browse repository at this point
Copy the full SHA 896dea5View commit details -
Will need to switch to http and json abstraction libraries first.
Configuration menu - View commit details
-
Copy full SHA for d69c0da - Browse repository at this point
Copy the full SHA d69c0daView commit details -
Configuration menu - View commit details
-
Copy full SHA for db45356 - Browse repository at this point
Copy the full SHA db45356View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6446b44 - Browse repository at this point
Copy the full SHA 6446b44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5be651f - Browse repository at this point
Copy the full SHA 5be651fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95bc4d0 - Browse repository at this point
Copy the full SHA 95bc4d0View commit details -
Fix error in README.md (otherwise: "URI::InvalidURIError: bad URI(is …
…not URI?): 127.0.0.1:9200")
Configuration menu - View commit details
-
Copy full SHA for 7cef043 - Browse repository at this point
Copy the full SHA 7cef043View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1cd92d - Browse repository at this point
Copy the full SHA f1cd92dView commit details -
restore the ability to connect with just ip:port
If uri fails to parse, just use the connect string as given.
Configuration menu - View commit details
-
Copy full SHA for ca17315 - Browse repository at this point
Copy the full SHA ca17315View commit details -
For testing the thrift transport
Configuration menu - View commit details
-
Copy full SHA for 1e40e27 - Browse repository at this point
Copy the full SHA 1e40e27View commit details -
Configuration menu - View commit details
-
Copy full SHA for b908d45 - Browse repository at this point
Copy the full SHA b908d45View commit details -
use MultiJson instead of Yajl directly
This increases platform compatibility and future proofs against better json libraries than yajl (like oj). Rails is using MultiJson so it isn't likely to go away. Both versions of the MultiJson api are supported. fixes #35
Configuration menu - View commit details
-
Copy full SHA for f4134b1 - Browse repository at this point
Copy the full SHA f4134b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f87620 - Browse repository at this point
Copy the full SHA 2f87620View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d15b22 - Browse repository at this point
Copy the full SHA 6d15b22View commit details -
The old rack escape doesn't work with utf8 multibyte strings in ruby 1.9. Relying on Faraday's popularity to take care of that. If Faraday doesn't work out, Rack's new escape is supposed to be pretty good. This commit also removes support for ruby 1.8.6. Faraday only supports 1.8.7+, so the rubberband dependency is bumped too.
Configuration menu - View commit details
-
Copy full SHA for 76d9cc1 - Browse repository at this point
Copy the full SHA 76d9cc1View commit details -
Patron relies on a C extension so it is not compatible with JRuby. Faraday supports multiple backends so it will work on more platforms. fixes #36
Configuration menu - View commit details
-
Copy full SHA for 2cfc87c - Browse repository at this point
Copy the full SHA 2cfc87cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00cee85 - Browse repository at this point
Copy the full SHA 00cee85View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5fd699 - Browse repository at this point
Copy the full SHA a5fd699View commit details -
Configuration menu - View commit details
-
Copy full SHA for 551dd86 - Browse repository at this point
Copy the full SHA 551dd86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61983d8 - Browse repository at this point
Copy the full SHA 61983d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10c102a - Browse repository at this point
Copy the full SHA 10c102aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 354ff8f - Browse repository at this point
Copy the full SHA 354ff8fView commit details -
allow transport to be an object
This allows users to pass a transport already created in case Rubberband doesn't know how to create it properly.
Configuration menu - View commit details
-
Copy full SHA for e77b5dc - Browse repository at this point
Copy the full SHA e77b5dcView commit details -
take a connection block for transports that use it
Faraday can take a block on connect to configure middleware and connection options. Now ElasticSearch.new takes a block and passes it down to the transport also. The block will only be executed when the transport connects. This might not be right away and it might happen multiple times.
Configuration menu - View commit details
-
Copy full SHA for 3aa0e1e - Browse repository at this point
Copy the full SHA 3aa0e1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ef8b27 - Browse repository at this point
Copy the full SHA 3ef8b27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 196f3de - Browse repository at this point
Copy the full SHA 196f3deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b2ce62 - Browse repository at this point
Copy the full SHA 1b2ce62View commit details -
use DummyTransport for alternate transport tests
Travis doesn't have thrift support in its elasticsearch.
Configuration menu - View commit details
-
Copy full SHA for fab53c6 - Browse repository at this point
Copy the full SHA fab53c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 726b599 - Browse repository at this point
Copy the full SHA 726b599View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0eeb37c - Browse repository at this point
Copy the full SHA 0eeb37cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 893c0d6 - Browse repository at this point
Copy the full SHA 893c0d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d784281 - Browse repository at this point
Copy the full SHA d784281View commit details -
Add version to faraday gemspec dependency.
Fixes error when calling previously private methods.
Configuration menu - View commit details
-
Copy full SHA for 85d9168 - Browse repository at this point
Copy the full SHA 85d9168View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66d3241 - Browse repository at this point
Copy the full SHA 66d3241View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3edf06b - Browse repository at this point
Copy the full SHA 3edf06bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6200030 - Browse repository at this point
Copy the full SHA 6200030View commit details -
respect the first argument to get_aliases
Previously this was ignored. Fixes #39
Configuration menu - View commit details
-
Copy full SHA for b6248ad - Browse repository at this point
Copy the full SHA b6248adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 390c17c - Browse repository at this point
Copy the full SHA 390c17cView commit details -
This overrode :size given in the query. Elasticsearch defaults to size 10 anyway so there's no need for a default here.
Configuration menu - View commit details
-
Copy full SHA for 69e704f - Browse repository at this point
Copy the full SHA 69e704fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d636cd1 - Browse repository at this point
Copy the full SHA d636cd1View commit details -
Fixing issue with ElasticSearch::RetryingClient trying forever and no…
…t respecting the @retries variable
Configuration menu - View commit details
-
Copy full SHA for f33ace5 - Browse repository at this point
Copy the full SHA f33ace5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f5d942 - Browse repository at this point
Copy the full SHA 0f5d942View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d2a075 - Browse repository at this point
Copy the full SHA 2d2a075View commit details -
MultiJson and Faraday allow running on JRuby, yay!
Configuration menu - View commit details
-
Copy full SHA for 1121d5c - Browse repository at this point
Copy the full SHA 1121d5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 147173e - Browse repository at this point
Copy the full SHA 147173eView commit details -
use * instead of _all to search all indices
Elasticsearch 0.19.9 no longer supports the _all syntax, and * seems to be supported at least as far back as 0.14.2.
Configuration menu - View commit details
-
Copy full SHA for c3c4499 - Browse repository at this point
Copy the full SHA c3c4499View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02d65d9 - Browse repository at this point
Copy the full SHA 02d65d9View commit details -
set default index and type in readme
The code doesn't work as given without this. Fixes #43
Configuration menu - View commit details
-
Copy full SHA for ae347e2 - Browse repository at this point
Copy the full SHA ae347e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfcf0aa - Browse repository at this point
Copy the full SHA cfcf0aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a745a2d - Browse repository at this point
Copy the full SHA a745a2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13f0be3 - Browse repository at this point
Copy the full SHA 13f0be3View commit details -
Headers are not used by Elasticsearch, but may be used by Faraday to …
…define basic auth, so don't override them per request.
Configuration menu - View commit details
-
Copy full SHA for fa5b511 - Browse repository at this point
Copy the full SHA fa5b511View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b31ada - Browse repository at this point
Copy the full SHA 6b31adaView commit details -
Checking for index existence is a common operation, and previously it was pretty cumbersome. Instead of getting the status of all indices and checking for the requested key, this implementation checks for the status of the requested index only and rescues the missing exception. This saves on bandwidth if you have a lot of indices.
Configuration menu - View commit details
-
Copy full SHA for 91e9d07 - Browse repository at this point
Copy the full SHA 91e9d07View commit details -
Response status is the most useful indicator of what went wrong.
Configuration menu - View commit details
-
Copy full SHA for 9495c18 - Browse repository at this point
Copy the full SHA 9495c18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 454a28f - Browse repository at this point
Copy the full SHA 454a28fView commit details -
allow delete_by_query without specifying index or type
Elasticsearch allows delete_by_query across multiple indices and types, so no need to require scope.
Configuration menu - View commit details
-
Copy full SHA for c493452 - Browse repository at this point
Copy the full SHA c493452View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb6af5c - Browse repository at this point
Copy the full SHA cb6af5cView commit details -
Merge branch 'master' of git://github.com/grantr/rubberband
Frazer Horn committedMar 25, 2013 Configuration menu - View commit details
-
Copy full SHA for 3173dc5 - Browse repository at this point
Copy the full SHA 3173dc5View commit details -
Minor improvement to index_exists? using correct es api call
Frazer Horn committedMar 25, 2013 Configuration menu - View commit details
-
Copy full SHA for ad84995 - Browse repository at this point
Copy the full SHA ad84995View commit details