分析器构成
说明 :Elasticsearch进行全文搜索的原理就是使用倒排索引,倒排索引的建立过程需要使用分析器对全文文档进行分析,一个分析器一般包括一个分词器和多个过滤器,使用者可以自由组合分词器和过滤器来建立自己的分析器。
搜索方式分类
说明 :简单搜索是参数化搜索,在get请求地址添加参数,请求体搜索一般是post请求,通过json传送查询参数。ES只支持Query上下文。
查询和过滤关键字
类型关键字说明身份元数据
_index _type _id _uid_uid=_type+_id索引元数据
_all _field_names _timestamp _ttl 文档元数据
_source _size _mappings _settings _update 路由元数据
_parent _routing _meta 过滤子句term terms range exists missing bool 查询子句match_all match multi_match bool #### ElasticSearch中常用的分析器:
分析器介绍 standard讲一段话切分为单个字