diff --git a/Documentation/DbaManual/IndexHash.md b/Documentation/DbaManual/IndexHash.md index 9e5494f8c0..43c299ca0c 100644 --- a/Documentation/DbaManual/IndexHash.md +++ b/Documentation/DbaManual/IndexHash.md @@ -10,7 +10,7 @@ Introduction to Hash Indexes{#IndexHashIntro} This is an introduction to ArangoDB's hash indexes. It is possible to define a hash index on one or more attributes (or paths) of a -documents. This hash is then used in queries to locate documents in O(1) +document. This hash index is then used in queries to locate documents in O(1) operations. If the hash is unique, then no two documents are allowed to have the same set of attribute values. diff --git a/arangod/V8Server/v8-vocbase.cpp b/arangod/V8Server/v8-vocbase.cpp index dbe041ae76..54fc863b1a 100644 --- a/arangod/V8Server/v8-vocbase.cpp +++ b/arangod/V8Server/v8-vocbase.cpp @@ -4218,7 +4218,7 @@ static v8::Handle JS_EnsureGeoConstraintVocbaseCol (v8::Arguments con /// uniqueness is violated. If any attribute value is null for a document, this /// document is ignored by the index. /// -/// Note that non-existing attribute paths in a document are treat as if the +/// Note that non-existing attribute paths in a document are treated as if the /// value were @LIT{null}. /// /// In case that the index was successfully created, the index identifier is @@ -4246,10 +4246,10 @@ static v8::Handle JS_LookupUniqueConstraintVocbaseCol (v8::Arguments /// /// @FUN{ensureHashIndex(@FA{field1}, @FA{field2}, ...,@FA{fieldn})} /// -/// Creates a unique hash index on all documents using @FA{field1}, @FA{field2}, +/// Creates a non-unique hash index on all documents using @FA{field1}, @FA{field2}, /// ... as attribute paths. At least one attribute path must be given. /// -/// Note that non-existing attribute paths in a document are treat as if the +/// Note that non-existing attribute paths in a document are treated as if the /// value were @LIT{null}. /// /// In case that the index was successfully created, the index identifier