Permalink
Commits on Apr 2, 2011
  1. A few changes on the README

    committed Apr 2, 2011
  2. updated Gemfile dependencies and removed Gemfile.lock from the repo a…

    …nd ignored it, Getting ready for the 1.0.0 release :D
    kidpollo committed Apr 2, 2011
  3. Version bump to 1.0.0

    kidpollo committed Apr 2, 2011
Commits on Apr 1, 2011
  1. adding myself as an author

    JackDanger committed Apr 1, 2011
Commits on Mar 31, 2011
  1. adding support for index functions

    Automatically updated via "rake tanker:functions"
    JackDanger committed Mar 31, 2011
Commits on Mar 30, 2011
  1. handling queries passed in as lists of words

    Just joining them into a single string. No reason to raise an error here
    if we can just as easily handle Topic.search(['tag1', 'tag2'])
    JackDanger committed Mar 30, 2011
  2. adding scoping of reindexing

    JackDanger committed Mar 30, 2011
  3. updating rakefile for 'rake spec'

    Also runs specs as default task
    JackDanger committed Mar 30, 2011
  4. updating call to index_name

    This is now stored in the tanker_config object, rather than directly on
    the class.
    JackDanger committed Mar 30, 2011
  5. splitting big reindex method into per-class method

    Sometimes it's useful to reindex just one class, rather than the entire
    data set.
    Users can now call Model.tanker_reindex and provide an optional batch
    size (defaults to 200)
    JackDanger committed Mar 30, 2011
  6. reliably sorting field data

    This is purely to ensure that our specs always have the right field
    order. Otherwise the random ordering of hash values causes specs to fail
    when they should be passing.
    JackDanger committed Mar 30, 2011
  7. documenting that you don't need the clunky block param

    Field blocks are now executed in the scope of each record.
    JackDanger committed Mar 30, 2011
  8. creating intermediate ModelConfig class

    Rather than running index(), indexes(), etc. directly on the model class
    (which may need those methods for other purposes), this patch runs those
    methods within the scope of a ModelConfig class.
    
    All functionality is identical, the only difference is the model that
    includes Tanker has less method namespace pollution
    JackDanger committed Mar 30, 2011
  9. testing that multi-value phrases work.

    If you have an array of values for the same field to specify in your
    query IndexTank prefers them itemized.
    JackDanger committed Mar 30, 2011
  10. fixing typo

    JackDanger committed Mar 30, 2011
  11. adding support for querying across models

    This feature is ported from Solr's Sunspot. In addition to calling
    Person.search_tank("keyword") you can now call Tanker.search([Person,
    Dog, Cat], "keyword) and get ordered results from all models.
    
    Eager-loading and result ordering is preserved.
    Specs included.
    JackDanger committed Mar 30, 2011
Commits on Mar 29, 2011
  1. indexing consistently by symbol

    This is to ensure we have consistent key format throughout our specs.
    JackDanger committed Mar 29, 2011
  2. cleaning up redundant code

    This same line appears in tanker_index_options
    JackDanger committed Mar 29, 2011