diff --git a/doc/cql3/CQL.textile b/doc/cql3/CQL.textile index 34a0c12514..9a24ec0d0f 100644 --- a/doc/cql3/CQL.textile +++ b/doc/cql3/CQL.textile @@ -409,7 +409,7 @@ CREATE INDEX userIndex ON NerdMovies (user); CREATE INDEX ON Mutants (abilityId); CREATE CUSTOM INDEX ON users (email) USING 'path.to.the.IndexClass'; -The @CREATE INDEX@ statement is used to create a new (automatic) secondary index for a given (existing) column in a given table. A name for the index itself can be specified before the @ON@ keyword, if desired. If data already exists for the column, it will be indexed during the execution of this statement. After the index is created, new data for the column is indexed automatically at insertion time. +The @CREATE INDEX@ statement is used to create a new (automatic) secondary index for a given (existing) column in a given table. A name for the index itself can be specified before the @ON@ keyword, if desired. If data already exists for the column, it will be indexed asynchronously. After the index is created, new data for the column is indexed automatically at insertion time. Attempting to create an already existing index will return an error unless the @IF NOT EXISTS@ option is used. If it is used, the statement will be a no-op if the index already exists. @@ -437,6 +437,7 @@ bc(syntax).. ::= INSERT INTO '(' ( ',' )* ')' VALUES '(' ( ',' )* ')' + ( IF NOT EXISTS )? ( USING