You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
http://localhost:9200/jieba_index/fulltext/_search
{
"query" : { "match" : { "content" : "大学" }},
"highlight" : {
"pre_tags" : ["", ""],
"post_tags" : ["", ""],
"fields" : {
"content" : {}
}
}
}
得到结果:
{
"took": 2,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"skipped": 0,
"failed": 0
},
"hits": {
"total": 1,
"max_score": 0.68324494,
"hits": [
{
"_index": "jieba_index",
"_type": "fulltext",
"_id": "2",
"_score": 0.68324494,
"_source": {
"content": "中国的伟大时代来临了,欢迎参观北京大学PKU"
},
"highlight": {
"content": [
"中国的伟大时代来临了,欢迎参观北京大学PKU"
]
}
}
]
}
}
我想要的是:
"中国的伟大时代来临了,欢迎参观北京大学PKU"
The text was updated successfully, but these errors were encountered: