Skip to content

Commit

Permalink
removed ES strict mapping from concepts/mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Dec 21, 2023
1 parent 47b916d commit c908c47
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions core/concepts/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ class Index:
name = 'concepts'
settings = {'number_of_shards': 1, 'number_of_replicas': 0}

class Meta:
dynamic = MetaField('strict')

id = fields.TextField(attr='mnemonic')
id_lowercase = fields.KeywordField(attr='mnemonic', normalizer="lowercase")
numeric_id = fields.LongField()
Expand Down
3 changes: 0 additions & 3 deletions core/mappings/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ class Django:
'external_id'
]

class Meta:
dynamic = MetaField('strict')

last_update = fields.DateField(attr='updated_at')
updated_by = fields.KeywordField(attr='updated_by.username')
owner = fields.KeywordField(attr='owner_name', normalizer="lowercase")
Expand Down

0 comments on commit c908c47

Please sign in to comment.