Elasticsearch中的一些知识

index.query.default_field 可以设置默认搜索的字段。详细参考http://stackoverflow.com/questions/10518404/in-elasticsearch-should-we-use-default-field-in-query-string-for-ngram-analyzer

index.mapping.ignore_malformed:全局设置index.mapping.ignore_malformed可以在索引级别上设置是否忽略异常内容(异常内容的一个例子是尝试将字符串类型的值作为数字类型索引), 这个设置是跨mapping types的全局设置。

index.mapping.coerce : 详细参考https://www.elastic.co/guide/en/elasticsearch/reference/current/coerce.html

index.query.parse.allow_unmapped_fields: false // 不能查找没有在mapping中定义的属性
http://blog.csdn.net/xialei199023/article/details/47680401

index :一 共3个值,no,analyzied,not_analyzied,分别对应’不对该字段进行索引(无法搜索)’,’分词后索引’,’以单个关键词进行索 引’。就是说,如果这个字段不需要搜索,一般不需要设置为analyzied 参考https://my.oschina.net/xiaohui249/blog/232788

dynamic http://es.xiaoleilu.com/070_Index_Mgmt/35_Dynamic_Mapping.html

你可能感兴趣的:(ES)