Permalink
Commits on Sep 7, 2008
  1. @lritter
Commits on Sep 3, 2008
  1. @lritter
Commits on Aug 27, 2008
  1. @lritter

    Added the ability to do things in batches.

    See the spec for examples but basically you can do anything you want in batches by using 'Model.in_batches'.  Also added convenience method Model.create_in_batches
    lritter committed Aug 27, 2008
  2. @lritter
  3. @lritter

    Added parameter to SolrAdapter#with_connection that tells the the ada…

    …pter to send a solr commit message just before returning the value. the commit will only be sent if the other operations were successful.
    lritter committed Aug 27, 2008
  4. @lritter
  5. @lritter

    Added the ability to read config file for solr adapter.

    See the spec for details, but it's basically a yaml file like this:
    
    ---
    test: &defaults
      adapter: solr
      host: localhost
      port: 8983
      index: /solr
    
    Load the yaml file, symbolize all the keys (facets/hash/symbolize_keys or rails) and
    run DataMapper.setup(:default, configuration[:test])
    lritter committed Aug 27, 2008
Commits on Aug 22, 2008
  1. @lritter
  2. @lritter

    Added the Model.random(size) method that returns a random set of resu…

    …lts.
    
    TODO: it would be nice if you could do a normal query and pass and :order => [:random] clause...
    lritter committed Aug 22, 2008
Commits on Aug 21, 2008
  1. @lritter

    Added the ability to use DM:Types (or at leats Yaml and Object)... sh…

    …ould work for any property that has a dump class method on it's Type. Otherwise the value will be taken as is.
    
    Added a couple specs for the Yaml and Object cases.
    lritter committed Aug 21, 2008
Commits on Aug 20, 2008
  1. @lritter

    Adding .gitignore file

    lritter committed Aug 20, 2008
  2. @lritter

    Added dynamic fields to solr schema to allow non-indexed, non-stored,…

    … and non-indexed and non-stored fields
    lritter committed Aug 20, 2008
Commits on Aug 19, 2008
  1. @lritter
Commits on Aug 15, 2008
  1. @lritter
Commits on Aug 14, 2008
  1. @lritter
  2. @lritter

    - Added gem version requirement to adapter

    - Uncommented a bunch of specs that I had commented
    lritter committed Aug 14, 2008
  3. @lritter