1)环境准备
启动Elasticsearch https://blog.csdn.net/qq_36918149/article/details/104221934
启动Kinbana https://blog.csdn.net/qq_36918149/article/details/104224625
2)什么是结构化数据?
2)什么是结构化数据搜索?
3)demo 演示
#结构化搜索,数据初始化
DELETE products
POST /products/_bulk
{
"index": {
"_id": 1 }}
{
"price" : 10,"avaliable":true,"date":"2018-01-01", "productID" : "XHDK-A-1293-#fJ3" }
{
"index": {
"_id": 2 }}
{
"price" : 20,"avaliable":true,"date":"2019-01-01", "productID" : "KDKE-B-9947-#kL5" }
{
"index": {
"_id": 3 }}
{
"price" : 30,"avaliable":true, "productID" : "JODL-X-1937-#pV7" }
{
"index"