Permalink
Browse files

improve examples

  • Loading branch information...
1 parent e5457ca commit f59999b357d68ee3d9d131c197c74baae4167f41 Robert Newson committed Apr 4, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -83,8 +83,8 @@ function(doc) {
<pre>
function(doc) {
var result = new Document();
- result.subject = doc.subject;
- result.content = doc.content;
+ result.field("subject", doc.subject, "yes");
+ result.field("content", doc.content);
return result;
}
</pre>

0 comments on commit f59999b

Please sign in to comment.