Permalink
Browse files

fix in map construction

  • Loading branch information...
1 parent f9e21da commit 84296167292d2d12f42c975f5cc2e2a8a14de26e @loniszczuk loniszczuk committed Jun 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/indextank/index.rb
View
@@ -80,7 +80,7 @@ def batch_insert(documents)
def bulk_delete(docids)
data = []
docids.each do |docid|
- data << {'docid': docid}
+ data << {'docid' => docid}
end
resp = @conn.delete do |req|
req.url "docs"

0 comments on commit 8429616

Please sign in to comment.