Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

映射和分析 这一篇 开头的例子 好像已经不能用了 #552

Open
rymuscle opened this issue Apr 16, 2018 · 4 comments
Open

映射和分析 这一篇 开头的例子 好像已经不能用了 #552

rymuscle opened this issue Apr 16, 2018 · 4 comments

Comments

@rymuscle
Copy link

使用了如下例子进行模拟, 根本查询不出来

POST /gb/tweet/_bulk
{ "index": { "_id": 1 }}
{ "name" : "高性能MySQL", "user_id" : "15", "tweet" : "page's number is gt than 700" , "create_at":"2015-09-25"}
{ "index": { "_id": 2 }}
{ "name" : "Elasticsearch 权威指南", "user_id" : "5", "tweet" : "this is a very nice book" , "create_at":"2018-02-11"}
{ "index": { "_id": 3 }}
{ "name" : "Solr 实战", "user_id" : "1098", "tweet" : "my next book" , "create_at":"2017-06-06"}
{ "index": { "_id": 4 }}
{ "name" : "Kafka 内核分析", "user_id" : "79", "tweet" : "kafka need to compare with rabbitmq" , "create_at":"2016-08-06"}

如下查询貌似没有结果, 感觉 _all 已经变了, 我用的是 est6

GET /gb/tweet/_search?q=2015

网上查过了, 有人说est6需要使用 copy_to, 但依然无效

@Hyvi
Copy link

Hyvi commented May 25, 2018

貌似文档没有人维护了。我也用了其中的示例,一直报错,提示也不友好,好折腾的。

@medcl
Copy link
Member

medcl commented May 28, 2018

文档是2.x 分支,需要大修

@yanshinian
Copy link

现在测试数据找不到了

@medcl
Copy link
Member

medcl commented Jul 24, 2018

英文版都还没修完: https://github.com/elastic/elasticsearch-definitive-guide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants