网站设计过程,php网站建设找哪家好,郑州网站建设模板制作,o2o网站做推广公司类似数据库中的表结构定义#xff0c;主要作用如下 定义Index下的字段名( Field Name) 定义字段的类型#xff0c;比如数值型、字符串型、布尔型等定义倒排索引相关的配置#xff0c;比如是否索引、记录 position 等 index_options 用于控制倒排索记录的内容#xff0c;有如…类似数据库中的表结构定义主要作用如下 定义Index下的字段名( Field Name) 定义字段的类型比如数值型、字符串型、布尔型等定义倒排索引相关的配置比如是否索引、记录 position 等 index_options 用于控制倒排索记录的内容有如下4种配置 - docs 只记录 doc id - freqs 记录 doc id 和 term frequencies - positions 记录 doc id、term frequencies 和 term position
-offsets 记录 doc id、term frequencies、term position character offsets·
text类型默认配置为 positions其他默认为 docs。记录内容越多占用空间越大 核心数据类型 字符串型 text、keyword 数值型 long、integer、short、 byte、 double、 float、 half float、 scaled_float
日期类型 date 布尔类型 boolean 二进制类型 binary 范围类型 integer_range、float_range、long_range、double_range、date_range
复杂数据类型 专用类型
-记录i 地址 ip -实现自动补全 completion -记录分词数 token_count -记录字符串hash值murmur3 -percolator -join