Skip to content

Commit

Permalink
fix events location elastic mapping
Browse files Browse the repository at this point in the history
disable location translations indexing to limit the number of indexed fields.
  • Loading branch information
petrjasek committed Oct 8, 2024
1 parent 0c6ef8b commit 3d5dc9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/planning/events/events_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,12 @@
"location": {
"type": "list",
"mapping": {
"type": "object",
"dynamic": False,
"properties": {
"qcode": not_analyzed,
"name": {"type": "string"},
"address": {"type": "object"},
"address": {"type": "object", "dynamic": True},
"geo": {"type": "string"},
"location": {"type": "geo_point"},
}
Expand Down

0 comments on commit 3d5dc9e

Please sign in to comment.