ES学习--基于词项term的搜索和基于全文的搜索
1、首先创建一个名称为books的索引,并批量加入多条测试文档数据:// 删除索引DELETE books// 创建索引并批量添加数据霸烹钟爷POST /books/_bulk{"index":{"_id":1}}{"productId":"Deep Learn Linux", "desc":"Linux"}{"index":{"_id":2}}{"productId":"Java Thought", "desc":"Java"}{"index":{"_id":3}}{"productId":"Netty Actions", "desc":"Netty"



