Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

moved field 'type' to the root level

  • Loading branch information...
commit 6445f61df37c531b0103c473e9c42c5f369ced2b 1 parent 95cfad6
@janpieper janpieper authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  en/reference/lucene-queries.rst
View
2  en/reference/lucene-queries.rst
@@ -24,7 +24,7 @@ You can use the design-doc API of Doctrine, for example:
"index" => "function(doc) {
var ret = new Document();
ret.add(doc.name);
- ret.add(doc.doctrine_metadata.type, {field: \"type\"});
+ ret.add(doc.type, {field: \"type\"});
return ret;
}"
)

0 comments on commit 6445f61

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