svn: /phpdoc/en/trunk/reference/mongo/mongocollection/ ensureindex.xml
| From: | Kristina Chodorow | Date: | Thu, 11 Feb 2010 16:45:01 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mongo/mongocollection/ ensureindex.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6060@lists.php.net to get a copy of this message | ||
kristina Thu, 11 Feb 2010 16:45:01 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=294890
Log:
added bg index creation option
Changed paths:
U phpdoc/en/trunk/reference/mongo/mongocollection/ensureindex.xml
Modified: phpdoc/en/trunk/reference/mongo/mongocollection/ensureindex.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongocollection/ensureindex.xml 2010-02-11 16:37:10 UTC (rev
294889)
+++ phpdoc/en/trunk/reference/mongo/mongocollection/ensureindex.xml 2010-02-11 16:45:01 UTC (rev
294890)
@@ -63,6 +63,17 @@
all but one duplicate value.
</para>
</listitem>
+ <listitem>
+ <para>
+ <literal>"background"</literal>
+ </para>
+ <para>
+ If you are using MongoDB version 1.3.2+, you can create indexes in the
+ background while other operations are taking place. By default, index
+ creation happens synchronously. If you specify &true; with this
+ option, index creation will be asynchronous.
+ </para>
+ </listitem>
</itemizedlist>
</para>
</listitem>