如何配置elasticsearch PHP客户端?

时间:2015-07-30 18:46:56

标签: elasticsearch-plugin elasticsearch

现在,如果查询超过2个符号,ElasticSearch会给出结果。如何配置elasticsearch php,搜索在最小1个输入符号后工作?

这是一个例子:

{
"_index": "users",
"_type": "profiles",
"_id": "7",
"_version": 2,
"_score": 1,
"_source": {
"id": "544",
"type": "1",
"name": "Babaev",
"photo": "/06/07/07/38/145x145/667200b3d3beffd4178ccd05903544d8.jpg",
"country": "Mordoc",
"SpecializationName": null,
"rating": "0"
}
}

0 个答案:

没有答案