Permalink
Commits on Oct 2, 2013
  1. [DOC] Update links to the new project pages

    phungleson committed with karmi Sep 25, 2013
    Closes #881
Commits on Oct 1, 2013
  1. Added the banner about retirement into the README

    karmi committed Oct 1, 2013
    Closes #882
    Related: #881
Commits on Sep 19, 2013
Commits on Jul 21, 2013
  1. [#789] Only run percolator tests when the `TRAVIS` environment variab…

    karmi committed Jul 21, 2013
    …le is set
    
    This should be set by Travis automatically [http://about.travis-ci.org/docs/user/ci-environment/#Environment-variables],
    to run the tests locally, just set the variable:
    
        $ TRAVIS=true time bundle exec ruby -I lib:test test/integration/percolator_test.rb
  2. [ACTIVEMODEL] Use Object#id#to_s in `get_id_from_document`

    karmi committed Jul 21, 2013
    Again related to Mongoid, see #775.
    
    Closes #775
Commits on Jul 5, 2013
  1. Removed the `attr_accessible` from the Rails application template

    karmi committed Jul 5, 2013
    No longer supported by Rails; http://weblog.rubyonrails.org/2012/3/21/strong-parameters/
    
    Also, minor text cleanups.
Commits on Jun 21, 2013
Commits on Jun 18, 2013
  1. [DOC] Added info about performing the index operation in background (…

    karmi committed Jun 18, 2013
    …Resque, Sidekiq, etc)
Commits on Jun 8, 2013
  1. Release v0.6.0

    karmi committed Jun 8, 2013
Commits on Jun 7, 2013
  1. Allow several filters in a ConstantScoreQuery

    jockee committed with karmi Apr 26, 2013
    Filters are automatically wrapped by `:and`
    
    Closes #715
  2. Added Item#read_attribute_for_serialization for ActiveModel::Serializ…

    lister committed with karmi Apr 11, 2013
    …ers compatibility
    
    
    Closes #700
Commits on Jun 6, 2013
  1. Added support for `_version_type` in Tire::Index#bulk

    Midpoint Data Layer committed with karmi Feb 15, 2013
    Closes #633
  2. Improved the `ids` query

    karmi committed Jun 6, 2013
    * Type is an optional argument
    * IDs argument is converted to Array
    
    Closes #751
Commits on Jun 5, 2013
  1. [FIX] Rescue HTTP client specific connection errors in MyModel#create…

    karmi committed Jun 5, 2013
    …_elasticsearch_index
    
    Added a `__host_unreachable_exceptions` for each HTTP client (adapter), so we can
    rescue connection related errors in `create_elasticsearch_index`.
    
    Closes #729
  2. [FIX] Merge returned `fields` with `_source` if both are returned

    jwaldrip committed with karmi Mar 5, 2013
    Previously, when asking for `_source` in `fields`, only the specific `fields`
    have been returned, not the full _source.
    
    The Elasticsearch behaviour has possibly changed here,
    see <#31 (comment)>
    
    Closes #663, closes #687, closes #712
  3. Removed the auto-loading of Rails' `environment` task

    karmi committed Jun 5, 2013
    As reported by some users, the auto-loading didn't invoked/executed the task properly,
    resulting in errors eg. due to not loaded initializers.
    
    The auto-invoking has been removed, since the documentation clearly states
    to invoke the task before the importing one.
    
    Closes #708
  4. [#724] Use modulo in Mongoid import strategy for breaking up collection

    karmi committed Jun 5, 2013
    In Mongoid import strategy, use the modulo division for better semantics
    of breaking up the collection into batches.
    
    Fixes: #724
  5. [#724] Fix incorrect Mongoid import strategy

    karmi committed Jun 5, 2013
    * For collections less then :per_page, no data would be imported.
    * For a collection of 1,200 items, the last 200 documents won't be imported for the default batch of 1,000
    
    Fixes #724
    
    Cc: @tobycox
  6. Changed, that Mongoid cursor is used for import, avoiding `skip()`

    tobycox committed with karmi Apr 30, 2013
    Iterating through mongoid collections using skip() can get really slow for large collections, as it has to traverse from the beginning of the collection (http://docs.mongodb.org/manual/reference/method/cursor.skip/).
    
    We were seeing our import task freeze up with high I/O after importing around 2.5 million records in a 6 million record collection.
    
    This commit alters the Mongoid import task so that it batches manually and makes the use of Mongoid's cursor to only return a small batch of results.
    
    Closes #724