Permalink
Browse files

Fix typo in index.elasticsearch/plugin_doc.html

  • Loading branch information...
1 parent 2909e38 commit 4801fd176cf47a4e3fa62ceab647832ee6df4884 @ad-m ad-m committed Jan 16, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/plugins/index.elasticsearch/plugin_doc.html
@@ -17,7 +17,7 @@
- Create an index called "test_index":<br/>
<pre>$ curl -XPUT 'localhost:9200/test_index'</pre><br/>
- Then add a document with the type "test_type" with the following command:<br/>
-<pre>$ curl -XPUT 'localhost:9200/test_index/test_type/1 -d '{"user":"test", "message":"this is a test"}'</pre>
+<pre>$ curl -XPUT 'localhost:9200/test_index/test_type/1' -d '{"user":"test", "message":"this is a test"}'</pre>
This will add a document with id equals to 1 containing two fields "user" and "message" that respective values are "test" and "this is a test".<br/>
The document will be added in the index "test_index" under the type "test_type".<br/><br/>
- You can retrieve the documents by their id:

0 comments on commit 4801fd1

Please sign in to comment.