{
"name": "BlogPostWordIndex",
"descriptive_name": "Blog Post Word Index",
"key": {
"hash_field": "word",
"range_field": "publish_date"
},
"transform_fields": {
"word": "BlogPost.map().content.split_by_word().map()",
"publish_date": "BlogPost.map().publish_date",
"content": "BlogPost.map().content",
"author": "BlogPost.map().author",
"title": "BlogPost.map().title",
"tags": "BlogPost.map().tags"
},
"field_topologies": {
"word": {
"root": {
"type": "Primitive",
"value": "String",
"classifications": ["word"]
}
},
"publish_date": {
"root": {
"type": "Primitive",
"value": "String"
}
},
"content": {
"root": {
"type": "Primitive",
"value": "String",
"classifications": ["word"]
}
},
"author": {
"root": {
"type": "Primitive",
"value": "String",
"classifications": ["name:person", "word"]
}
},
"title": {
"root": {
"type": "Primitive",
"value": "String",
"classifications": ["word"]
}
},
"tags": {
"root": {
"type": "Array",
"value": {
"type": "Primitive",
"value": "String",
"classifications": ["hashtag", "word"]
}
}
}
}
}