Elasticsearch之Nested Object Mapping
来源:互联网 发布:ubuntu自带gcc吗 编辑:程序博客网 时间:2024/05/20 17:25
(这是一个小系列:请戳:Elasticsearch之Nested(嵌套)系列,查看其他nested相关文章)
Setting up a nested field is simple—where you would normally specify type object, make it type nested instead:
创建一个nested 字段很简单——只要在你通常指定object类型的地方,改成nested类型就行:
curl -XPUT 'localhost:9200/my_index' -d '{ "mappings":{ "blogpost":{ "properties":{ "comments":{ "type":"nested","properties":{ "name": {"type":"string" }, "comment": { "type": "string" }, "age": { "type": "short" }, "stars": { "type": "short" }, "date": { "type": "date" }} } } } }}
原文:http://www.elastic.co/guide/en/elasticsearch/guide/master/nested-mapping.html
0 0
- Elasticsearch之Nested Object Mapping
- Elasticsearch之Nested Object
- Elasticsearch之Nested Query
- Elasticsearch之Nested Sorting
- Elasticsearch之Nested Aggregation
- elasticsearch之mapping field
- elasticsearch之mapping types
- elasticsearch之mapping配置
- elasticsearch之mapping配置
- elasticsearch 之mapping
- elasticsearch之mapping配置
- Elasticsearch之Nested(嵌套)系列
- ElasticSearch——nested(mapping,query,aggregation)
- Elasticsearch : array of innner object vs. nested object
- ElasticSearch之动态mapping模板
- Elasticsearch之映射(mapping)。
- elasticsearch mapping
- elasticsearch mapping
- leetcode-125 Valid Palindrome
- Xcode 报错 ERROR ITMS-90096
- 线程、更新主线程UI的其它方法
- Git Clone时报 "fatal: index-pack failed error: RPC failed; result=18, HTTP code = 200"
- JQuery处理json与ajax返回JSON实例
- Elasticsearch之Nested Object Mapping
- EL表达式
- js eval处理json
- 简单实用出发 轻松搞定80平两居室
- 字节序问题
- Unity3d报错:Error building Player: Win32Exception: ApplicationName='xxxxxx/zipalign.exe'
- TortoiseSVN 冲突解决详细步骤 (图)
- android 修改我们应用的主题
- 矩阵广义逆求解(QR、svd、LU)