Comments (1)
手动安装elasticsearch并启动之后不报连接错误了,新的错误是下面这个,请问这里 index: 'robbin_site' 指的是什么?
2016-07-16 23:29:49 +0800: GET http://localhost:9200/robbin_site/_search [status:404, request:0.012s, query:N/A]
2016-07-16 23:29:49 +0800: > {"query":{"match":{"_all":"9999"}}}
2016-07-16 23:29:49 +0800: < {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"robbin_site","index":"robbin_site"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"robbin_site","index":"robbin_site"},"status":404}
2016-07-16 23:29:49 +0800: [404] {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"robbin_site","index":"robbin_site"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"robbin_site","index":"robbin_site"},"status":404}
Elasticsearch::Transport::Transport::Errors::NotFound - [404] {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"robbin_site","index":"robbin_site"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"robbin_site","index":"robbin_site"},"status":404}:
也就是home.rb里这一行里的'robbin_site'我应该改成什么?望答复谢谢~
raw_result = client.search index: 'robbin_site', body: { query: { match: { _all: params[:q] } } }
from robbin_site.
Related Issues (10)
- You have already activated i18n 0.6.1, but your Gemfile requires i18n 0.6.4. Using bundle exec may solve this HOT 2
- www.robbinfan.com 并没有正常打开 HOT 1
- 网络io开销 HOT 1
- about system requirement HOT 3
- 关于CSS HOT 1
- cannot generate assets timestamp out of stylesheets directory
- 我成功启动服务器了吗? HOT 1
- 怎么回事? HOT 1
- 无法捕获ActiveRecord::RecordNotFound错误 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robbin_site.