Permalink
Browse files

corrected gemspec; commitwithin default

  • Loading branch information...
1 parent 713ceae commit 32dce9dca7f4f7a192f5ef57d6b71c1c4e3b8f5e @tc committed Mar 12, 2012
Showing with 6 additions and 3 deletions.
  1. +3 −0 README.md
  2. +2 −2 lib/solrsan/indexer.rb
  3. +1 −1 lib/solrsan/version.rb
View
@@ -110,6 +110,9 @@ A simple search query:
More searching examples can be seen in test/unit/search_test.rb
## Changelog
+0.6.0
+Corrected gemspec format. Thanks dinshaw.
+
0.5.9
Reverted ability to custom modify solr 'type' attribute field.
View
@@ -21,7 +21,7 @@ def indexed_fields
doc.merge(converted_fields)
end
- def solr_index(opts={:add_attributes => {:commitWithin => 10}})
+ def solr_index(opts={:add_attributes => {:commitWithin => 1000}})
self.class.solr_index(self, opts)
end
@@ -40,7 +40,7 @@ def solr_id_value
end
module ClassMethods
- def solr_index(doc, opts={:add_attributes => {:commitWithin => 10}})
+ def solr_index(doc, opts={:add_attributes => {:commitWithin => 1000}})
solr_docs = []
if doc.respond_to?(:map)
solr_docs = doc.map{|document| document.indexed_fields }
View
@@ -1,3 +1,3 @@
module Solrsan
- VERSION = "0.5.9"
+ VERSION = "0.6.0"
end

0 comments on commit 32dce9d

Please sign in to comment.