Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

change examples to index attachments into default field.

  • Loading branch information...
commit 470171d758c795b0c882bfddafd7623c9bc75c3a 1 parent 8449a2c
Robert Newson authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -259,7 +259,7 @@ function(doc) {
if (doc._attachments) {
for (var i in doc._attachments) {
- ret.attachment("attachment", i);
+ ret.attachment("default", i);
}
}
@@ -293,7 +293,7 @@ function(doc) {
function(doc) {
var result = new Document();
for(var a in doc._attachments) {
- result.attachment("attachment", a);
+ result.attachment("default", a);
}
return result;
}

0 comments on commit 470171d

Please sign in to comment.
Something went wrong with that request. Please try again.