初期マッピング curl -XGET ‘http://localhost:9200/rssnews/_mapping/’
1 |
{"rssnews":{"mappings":{"page":{"properties":{"author":{"type":"string"},"categories":{"type":"string","index":"not_analyzed"},"description":{"type":"string"},"enclosures":{"properties":{"length":{"type":"long","index":"no"},"type":{"type":"string","index":"not_analyzed"},"url":{"type":"string","index":"no"}}},"feedname":{"type":"string","index":"not_analyzed"},"link":{"type":"string","index":"no"},"location":{"type":"geo_point"},"medias":{"properties":{"description":{"type":"string"},"duration":{"type":"long","index":"no"},"height":{"type":"long","index":"no"},"language":{"type":"string","index":"not_analyzed"},"reference":{"type":"string","index":"no"},"title":{"type":"string"},"type":{"type":"string","index":"not_analyzed"},"width":{"type":"long","index":"no"}}},"publishedDate":{"type":"date","store":true,"format":"dateOptionalTime"},"raw":{"properties":{"html":{"type":"string","index":"no"}}},"river":{"type":"string"},"source":{"type":"string"},"title":{"type":"string"}}}}}} |
テキストファイルとして出力 cu […]