Skip to content

Commit 4ac935f

Browse files
committed
version 0.1.9
1 parent c0ba337 commit 4ac935f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/document.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,8 @@
508508
type: this.constructor.getDocumentType(),
509509
refresh: refresh,
510510
id: this.id,
511-
version: this.version,
511+
version: this.version + 1,
512+
versionType: 'external',
512513
body: document
513514
}, (function(_this) {
514515
return function(error, response) {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "enju",
3-
"version": "0.1.8",
3+
"version": "0.1.9",
44
"description": "An elasticsearch on node.js written in CoffeeScript.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)