Skip to content

Commit 398eaaa

Browse files
authored
Update elasticsearch.md (#1204)
1 parent 418bb53 commit 398eaaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/elasticsearch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ API Platform follows the best practices of Elasticsearch:
4343
index](https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html);
4444
* index name should be the short resource name in lower snake case;
4545
* the default `_doc` type should be used;
46-
* all fields should be lower case and should use snake case for combining words.
46+
* all fields should be lower case and should use camel case for combining words.
4747

4848
This involves having mappings and models which absolutely match each other.
4949

@@ -222,7 +222,7 @@ class Tweet
222222
}
223223
```
224224

225-
API Platform will automatically disable write operations and snake case document fields will automatically be converted to
225+
API Platform will automatically disable write operations and camel case document fields will automatically be converted to
226226
camel case object properties during serialization.
227227

228228
Keep in mind that it is your responsibility to populate your Elasticsearch index. To do so, you can use [Logstash](https://www.elastic.co/products/logstash),

0 commit comments

Comments
 (0)