aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2018-08-25 12:38:28 -0400
committerAlec Warner <antarus@gentoo.org>2018-08-25 12:38:28 -0400
commit5fac05cca1b69a78b98b017314270922e016148e (patch)
tree13e7b998b1042ff1914f3cf99654780d2780acde /lib
parentRemove PFL links as they are longer working. (diff)
downloadpackages-5-5fac05cca1b69a78b98b017314270922e016148e.tar.gz
packages-5-5fac05cca1b69a78b98b017314270922e016148e.tar.bz2
packages-5-5fac05cca1b69a78b98b017314270922e016148e.zip
Turn off dynamic field detection.dynamic
Diffstat (limited to 'lib')
-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.