一、分类
image.png-
指定查询的索引
image.png
二、URI Search
通过http get 请求,查询数据
image.png三、Request Body Search
image.png四、搜索 Response (返回查询结果)
image.png五、搜索的相关性Relevance
image.png六、搜索衡量相关性
image.png七、Precision & Recall
三角形 代表不相关内容,圆形代表相关内容
image.png
需要通过Kibana导入Sample Data的电商数据
#URI Query
GET kibana_sample_data_ecommerce/_search?q=customer_first_name:Eddie
GET kibana*/_search?q=customer_first_name:Eddie
GET /_all/_search?q=customer_first_name:Eddie
#REQUEST Body
POST kibana_sample_data_ecommerce/_search
{
"profile": true,
"query": {
"match_all": {}
}
}
- https://www.elastic.co/guide/en/elasticsearch/reference/7.1/search-search.html
- https://searchenginewatch.com/sew/news/2065080/search-engines-101
- https://www.huffpost.com/entry/search-engines-101-part-i_b_1104525
- https://www.entrepreneur.com/article/176398
- https://www.searchtechnologies.com/meaning-of-relevancy
- https://baike.baidu.com/item/%E6%90%9C%E7%B4%A2%E5%BC%95%E6%93%8E%E5%8F%91%E5%B1%95%E5%8F%B2/2422574
网友评论