GET _cat/indices
GET hotel/_search
GET /_search
{
"query": {
"constant_score": {
"filter": {
"term": {
"lvg_mc": "酒店"
}
},
"boost": 1.2
}
}
}
DELETE /my_index
PUT /my_index
{
"settings": {
"number_of_shards": 1 }}
POST /my_index/_bulk
{
"index": {
"_id": 1 }}
{
"title": "The quick brown fox" }
{
"index": {
"_id": 2 }}
{
"title": "The quick brown fox jumps over the lazy dog" }
{
"index": {
"_id": 3 }}
{
"title"
elasticsearch得分设置以及分词器不同层次定义
最新推荐文章于 2025-09-21 09:59:34 发布

最低0.47元/天 解锁文章
2321

被折叠的 条评论
为什么被折叠?



