-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Elasticsearch document-es_ mapping
- Loading branch information
Adrien Peyre
committed
Nov 25, 2021
1 parent
ee6774d
commit d7cf261
Showing
1 changed file
with
74 additions
and
0 deletions.
There are no files selected for viewing
74 changes: 74 additions & 0 deletions
74
src/Resources/config/elasticsearch/mappings/documents-es_mapping.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
mappings: | ||
dynamic: false | ||
properties: | ||
type: | ||
type: keyword | ||
code: | ||
type: keyword | ||
enabled: | ||
type: boolean | ||
inStock: | ||
type: boolean | ||
channel: | ||
type: keyword | ||
mainTaxon: | ||
type: nested | ||
properties: | ||
code: | ||
type: keyword | ||
name: | ||
type: keyword | ||
position: | ||
type: integer | ||
level: | ||
type: integer | ||
productPosition: | ||
type: integer | ||
taxon: | ||
type: nested | ||
properties: | ||
code: | ||
type: keyword | ||
name: | ||
type: keyword | ||
position: | ||
type: integer | ||
level: | ||
type: integer | ||
productPosition: | ||
type: integer | ||
attributes: | ||
type: nested | ||
properties: | ||
name: | ||
type: text | ||
analyzer: search_standard | ||
fields: | ||
keyword: | ||
type: keyword | ||
value: | ||
type: text | ||
analyzer: search_standard | ||
fields: | ||
keyword: | ||
type: keyword | ||
code: | ||
type: keyword | ||
score: | ||
type: rank_feature | ||
price: | ||
type: nested | ||
properties: | ||
currency: | ||
type: keyword | ||
channel: | ||
type: keyword | ||
value: | ||
type: integer | ||
originalPrice: | ||
type: nested | ||
properties: | ||
currency: | ||
type: keyword | ||
value: | ||
type: integer |