Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 12, 2014
  1. @fabn

    Added more defensive way of checking the @attributes in Item#respond_to?

    fabn authored committed
    Closes #944
  2. @bbonamin

    Changed, that the `<<` operator is used in Logger, instead of `+=`

    bbonamin authored committed
    Dramatically improves the performance of the code where strings are concatenated, by changing the "+=" for "<<".
    
    Sample profiling of line 50 on logger.rb with a 20,000 lines json response from Elasticsearch:
    
        Before the change
        99.74%  48.04 seconds String#each_line
    
        After the change
        74.91%  0.11 seconds String#each_line
    
    Closes #959
  3. [TEST] Fixed 0.90-based test for exposing the Elasticsearch response

    authored
    The "ok" key has been removed.
  4. [TEST] Fixed incorrect test for STI

    authored
    `to_i` obviously doesn't provide enough granularity.
  5. Fixed an incorrect condition in Index#retrieve and added that `nil` i…

    authored
    …s returned for 404 responses
    
    This fixes #939.
Commits on Mar 3, 2014
  1. Added notice about 1.0 compatibility to README, added link to elastic…

    authored
    …search/elasticsearch-rails
    
    Related: #943
Commits on Feb 22, 2014
  1. Fixed `Index.retrieve` so that it works with ES 1.0.0 and previous ve…

    Jon Stokes authored committed
    …rsions
    
    Closes #939
Commits on Jan 24, 2014
  1. @msonnabaum

    Added, that Index#retrieve throws an exception on HTTP errors

    msonnabaum authored committed
    Closes #929
Commits on Jan 15, 2014
  1. Release 0.6.2

    authored
  2. Suggestions: Small edits to the relevant chapter in `tire-dsl.rb` doc…

    authored
    …umentation
    
    Closes #916
    Closes #894
    Closes #857
    Closes #777
  3. @fabn

    Suggestions: Added information about the topic into `tire-dsl.rb` doc…

    fabn authored committed
    …umentation
  4. @fabn

    Fixed failing test on 0.90.7

    fabn authored committed
  5. @fabn

    Suggestions: Allow options for completion

    fabn authored committed
  6. @fabn

    Suggestions: Integration test for standalone suggestions

    fabn authored committed
  7. @fabn

    Suggestions: Integration test for standalone completion

    fabn authored committed
  8. @fabn

    Suggestions: Working integration test within search

    fabn authored committed
  9. @fabn

    Suggestions: Fixed failing unit tests

    fabn authored committed
  10. @fabn

    Suggestions: Integrated @marc-villanueva stuff with @fbatista PR

    fabn authored committed
    Related: #777 and #857
  11. @fabn

    Suggestions: Fixes for completion multi

    fabn authored committed
  12. @fabn

    Suggestions: Shortcut method in DSL

    fabn authored committed
  13. Suggestions: Exception raised outside `Search` module, use fully-qual…

    Bob Aman authored committed
    …ified name.
  14. Added suggest support to the model integration

    Fábio authored committed
    Related: #916, #857
  15. [#857] Added support for the Suggest API (@fbatista)

    Fábio authored committed
    Still needs more tests and support for other more types other than completion
    
    See: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters.html
    
    Related: #916, #894, #857, #777
Commits on Jan 7, 2014
Commits on Nov 13, 2013
  1. @spra85

    [ACTIVEMODEL] Exposed the response from `MyModel#.update_index` as th…

    spra85 authored committed
    …e `response` method on return value
    
    Similarly to what is available in the persistent storage class.
    
    Closes #908
Commits on Oct 16, 2013
  1. Release 0.6.1

    authored
Commits on Oct 2, 2013
  1. @ryansch

    Added support for bulk update

    ryansch authored committed
        # update mapping
        index = Tire::Index.new(Contact.tire.index_name)
        puts index.mapping(
          Contact.tire.document_type,
          properties: {
            updated_at: {
              type: 'date',
              format: 'date_time_no_millis'
            }
          }
        )
    
        # add data
        Contact.find_in_batches do |batch|
          documents = batch.map do |contact|
            {
              id: contact.id,
              type: Contact.tire.document_type,
              _routing: contact.account_id,
              doc: ContactSearchSerializer.new(contact, only: :updated_at).as_json
            }
          end
          puts index.bulk_update(documents)
        end
    
    Closes #853
  2. @monfresh

    Add out_of_range? alias for Kaminari support

    monfresh authored committed
    Kaminari's method is called "out_of_range?", but tire uses "out_of_bounds?". I added the alias to make integration with Kaminari easier.
    
    Closes #855
  3. Changed that `default` properties of Tire::Persistence are evaluated …

    Ben Hundley authored committed
    …when being casted, not on class load
    
    Closes #864
  4. @felixbuenemann

    Fixed possible double require of model classes

    felixbuenemann authored committed
    When loading environment berfor tire:import:all, it is possible that
    models are already loaded when tire tries to load them. This can cause
    redefinition of constants and all other kind of havoc.
    
    This fix first tries to constantize the models to see if they are
    already loaded before trying to require them.
    
    See issue #744 for discussion.
    
    Closes #869
  5. @donaldpiret

    Added more errors to the `__host_unreachable_exceptions` list

    donaldpiret authored committed
    Closes #871
Something went wrong with that request. Please try again.