Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jul 21, 2013
  1. [#17] Setting dynamic attributes using ruby accessor style methods an…

    Matthew Hirst authored committed
    …d []=
  2. [#17] Allowed setting dynamic attributes after initialization

    Matthew Hirst authored committed
Commits on Jul 5, 2013
  1. Release 0.1.3

    authored
    Closes #26
Commits on Jun 3, 2013
  1. [#12] Refactored the "index namespace" support to work across the API

    authored
    Previously, only the <Index#name> method reflected the namespace.
    
    This patch overloads the <Index.new> method to define the `@name`
    variable with the namespace included.
    
    Fixes #12.
  2. @timoschilling

    Added namespace support for Tire indices

    timoschilling authored committed
    This extension allows you to "namespace" index operations in Tire:
    
        Tire.configure do
          namespace("foo")
        end
    
    All indices will be then prefixed by the namespace:
    
        Tire.index("bar").name
        => "foo-bar"
    
    Closes #12
  3. @EvilFaeton

    Added active model serializer support for Tire results

    EvilFaeton authored committed
    Example:
    
        require 'tire/model/active_model_serializer'
    
        class Vacancy
          include Tire::Model::Search
    
          # ...
        end
    
        class VacancySerializer < ActiveModel::Serializer
          attributes :position, :body, :location
    
          def location
            "#{city}, #{state}, #{country}"
          end
        end
    
        class VacanciesController < ApplicationController
          def index
            render json: Vacancy.search(params[:term]), root: false
          end
        end
    
    See: https://github.com/rails-api/active_model_serializers
    
    Closes #15
  4. @timvdl

    Added support for "fuzzy_like_this" queries

    timvdl authored committed
         Tire.search 'articles' do
           query do
              fuzzy_like_this 'search for similar text'
              fuzzy_like_this_field :field_name, 'similar text'
           end
         end
    
    Closes #16
  5. @timoschilling
  6. @timoschilling

    Run Travis-CI on the same Ruby versions as `tire`

    timoschilling authored committed
    Closes #23
  7. @volmer

    Added `:params` support to `custom_filters_score` query

    volmer authored committed
    Example:
    
        query do
          custom_filters_score do
            query { string 'foo' }
    
            params now: Time.now.to_i * 1000
    
            filter do
              filter 'exists', field: 'created_at'
              script "((0.08 / ((3.16*pow(10,-11)) * abs(now - doc['created_at'].date.getMillis()) + 0.05)))"
            end
          end
        end
    
    Thanks to @thor27 and Jon Tai's blog post: http://jontai.me/blog/2013/01/advanced-scoring-in-elasticsearch/
    
    Closes #19
Commits on May 21, 2013
  1. Release 0.1.2

    authored
    Changelog:
    
    * Added a "pooled curb" client
    * Set a "default" Rake task to "test"
    * Added the `Tire::Model::DynamicPersistence` extension
    * Added NewRelic instrumentation for Tire API and the ActiveModel integration
Commits on Apr 27, 2013
  1. @brupm

    Added a "pooled curb" client

    brupm authored committed
    The client uses the "common_pool" gem to prevent "Curl::Err::MultiBadEasyHandle"
    in multithreaded environments, such as Unicorn.
    
    Closes #18
    Closes karmi/retire#713
Commits on Mar 5, 2013
  1. @timoschilling

    Set a "default" Rake task to "test"

    timoschilling authored committed
    Closes #10
Commits on Mar 4, 2013
  1. @davekinkead

    Added the `Tire::Model::DynamicPersistence` extension

    davekinkead authored committed
    Related: karmi/retire#605
    
    Closes #14
  2. @timoschilling

    Added `log/*` to .gitignore

    timoschilling authored committed
    Closes #13
  3. @timoschilling

    Relax Bundler dependency

    timoschilling authored committed
    You can use it with bundler 1.1 and 1.2
    
    Closes #9
Commits on Sep 29, 2012
Commits on Jul 15, 2012
Commits on Jul 13, 2012
  1. Added NewRelic instrumentation for Tire API and the ActiveModel integ…

    authored
    …ration
    
    This `tire-contrib` component adds instrumentation support for
    the [NewRelic](http://newrelic.com) application performance management tool.
    
    Usage:
    ------
    
    For tracing Tire::Index and Tire::DSL method calls, just require the component
    (eg. in the Ruby On Rails initialize):
    
        require 'tire/new_relic/instrumentation'
    
    To use tracing search calls in the ActiveModel model integration, in addition
    to requiring the component, include the tracing module in your model:
    
        class MyModel
          include Tire::Model::Search
          include Tire::Model::NewRelic unless Rails.env.test?
        end
    
    See the statistics in the "Diagnostics > Transaction Traces" page at NewRelic.
    
    TODO
    ----
    
    * Implement tracing for searches via the proxy object (`MyModel.tire.search ...`)
    * Implement tracing for `update_index` via `after_save` callbacks (again, proxied)
    
    More Information:
    -----------------
    
        * https://newrelic.com/docs/ruby/ruby-custom-metric-collection
        * https://github.com/newrelic/rpm/tree/master/lib/new_relic/agent/instrumentation
        * https://github.com/newrelic/rpm_contrib/tree/master/lib/rpm_contrib/instrumentation
Commits on May 6, 2012
  1. Release 0.1.1

    authored
  2. @presdo

    Added Custom Filters Score Query support

    presdo authored committed
Commits on Mar 26, 2012
  1. Release 0.1.0

    authored
  2. [DOC] Improved documentation

    authored
  3. @olivere

    [#3] Fixes: InstanceMethods is deprecated in ActiveSupport::Concern

    olivere authored committed
    Closes [#3]
  4. @olivere

    [#3] Changed the log output header

    olivere authored committed
    Closes [#3]
  5. @olivere

    [#3] Removed "rcov" and "sdoc" gems

    olivere authored committed
    No support for Ruby 1.9.
    
    Closes [#3]
  6. @mereghost
Commits on Mar 13, 2012
  1. Release 0.0.3.6

    authored
Something went wrong with that request. Please try again.