aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kkuleomi/store.rb')
-rw-r--r--lib/kkuleomi/store.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kkuleomi/store.rb b/lib/kkuleomi/store.rb
index e5fc169..ab80505 100644
--- a/lib/kkuleomi/store.rb
+++ b/lib/kkuleomi/store.rb
@@ -29,7 +29,8 @@ module Kkuleomi::Store
}
}
},
- mapping: { total_fields: { limit: 50000 } }
+ index: { mapper: { dynamic: 'strict' } },
+ mapping: { total_fields: { limit: 50000 } }
}
# In ES 1.5, we could use 1 mega-index. But in ES6, each model needs its own.