12345678910111213141516171819202122232425262728293031323334353637383940 |
- 创建索引
- POST http://172.19.103.68:9200/wlyy_followup
- 查询索引
- GET http://172.19.103.68:9200/wlyy_followup/
- 给索引加mapping
- POST http://172.19.103.68:9200/wlyy_followup/wlyy_followup_content/_mapping
- {
- "wlyy_followup_content": {
- "properties": {
- "followup_id": {
- "type": "string",
- "index": "not_analyzed"
- },
- "followup_project": {
- "type": "string",
- "index": "not_analyzed"
- },
- "followup_key": {
- "type": "string",
- "index": "not_analyzed"
- },
- "followup_value": {
- "type": "string",
- "index": "not_analyzed"
- },
- "create_time": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- }
- }
- 增加索引搜索大小
- PUT http://172.19.103.68:9200/wlyy_followup/_settings
- {
- "index": {
- "max_result_window": 500000
- }
- }
|