Upversion artifacts to 1.8.0-SNAPSHOT
[aai/search-data-service.git] / DOCUMENTS.md
index ed07543..fcc0949 100644 (file)
@@ -53,6 +53,10 @@ If no _Id_ is provided by the client, then a unique identifier will be generated
 \r
     index - The name of the _Index_ to persist the _Document_ in.\r
 \r
+**Request Header**\r
+\r
+    X-Create-Index  = true = Allow index to be implicitly created if it does not already exist in the document store.\r
+    \r
 **Request Payload**\r
 \r
     Document contents expressed as a JSON object. (see **Syntax**) \r
@@ -93,6 +97,10 @@ _NOTE: If a document id is supplied then it is the responsibility of the client
     index - The name of the _Index_ to persist the Document in.\r
     id    - The identifier to associate with this Document.\r
 \r
+**Request Header**\r
+\r
+    X-Create-Index  = true = Allow index to be implicitly created if it does not already exist in the document store.\r
+    \r
 **Request Payload**\r
 \r
     Document contents expressed as a JSON object. (see **Syntax**) \r
@@ -189,6 +197,7 @@ When performing a _Document_ update, this value must be supplied in the _If-Matc
     Accept          = application/json\r
     X-TransactionId = Unique id set by client (for logging purposes)\r
     X-FromAppId     = Application identifier (for logging purposes)\r
+    X-Create-Index  = true = Allow index to be implicitly created if it does not already exist in the document store.\r
     Content-Type    = application/json   \r
     If-Match        = The ETag value for the document to be updated.\r
 \r