diff --git a/reference/mongo/mongocollection/ensureindex.xml b/reference/mongo/mongocollection/ensureindex.xml
index 8dfe5c2781..5924088eca 100644
--- a/reference/mongo/mongocollection/ensureindex.xml
+++ b/reference/mongo/mongocollection/ensureindex.xml
@@ -15,7 +15,11 @@
public booleanMongoCollection::ensureIndex
string|arraykeys
+ booleanunique
+
+ A unique index cannot be created on a field if multiple existing documents do not contain the field. The field is effectively &null; for these documents and thus already non-unique.
+
@@ -32,6 +36,16 @@
+
+
+ unique
+
+
+
+ If the index should be unique.
+
+
+
@@ -65,6 +79,9 @@ $c->ensureIndex(array('w' => -1));
// create an index on 'z' ascending and 'zz' descending
$c->ensureIndex(array('z' => 1, 'zz' => -1));
+// create a unique index on 'x'
+$c->ensureIndex(array('x' => 1), true);
+
?>
]]>