Skip to content

Commit cf77334

Browse files
committed
QuickStart guide - Configure Entity
1 parent 8fbcd24 commit cf77334

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

doc/00_quick_start.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,28 @@ spameriElasticSearch:
3434
port: 9200
3535
```
3636

37-
### III.
38-
37+
### III. Configure Entity
3938

39+
Next step is to configure your first entity. This entity is for e-shop product.
4040

41+
```yaml
42+
1.| spameriElasticSearch:
43+
2.| entities:
44+
3.| SimpleProduct:
45+
4.| index: spameri_simple_product
46+
5.| dynamic: strict
47+
6.| config: @simpleProductConfig
48+
7.| properties:
49+
```
50+
- First line is extensionName
51+
- Second line is entities config array
52+
- Third line is EntityName
53+
- Fourth line is index name for this entity
54+
- Fifth line is for specifying whether index should accept new not specified fields
55+
- Sixth line is reference to where is object with entity configuration
56+
- Seventh line is where you can configure your entity within this neon
57+
58+
## 3.
4159
4260
4361

0 commit comments

Comments
 (0)