Enabled elasticsearch 2.4 support by using type string.
This commit is contained in:
parent
eebec0aebb
commit
0fd7dde63e
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ def get_mapping_properties_object(object)
|
|||
object.columns_hash.each do |key, value|
|
||||
if value.type == :string && value.limit && value.limit <= 5000 && store_columns.exclude?(key)
|
||||
result[object.name][:properties][key] = {
|
||||
type: 'text',
|
||||
type: 'string',
|
||||
fields: {
|
||||
raw: { 'type': 'string', 'index': 'not_analyzed' }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue