Jeramae Bohol

Joined

1,700 Experience
1 Lesson Completed
2 Questions Solved

Activity

Posted in Bonsai vs AWS Elasticsearch?

Any recommendation?

Before I implemented searchkick/elasticsearch on my rails app, the default_scope -> { order(created_at: :desc) } works. But after implementing searchkick/elasticsearch, it doesn't work anymore.

Just turned out that I didn't include the autocomplete method on the before_action exception for authentication.

I've implemented elasticsearch/searchkick on my rails app and it works both in development and production on desktop browsers. But I noticed that the autocomplete does not work on safari on my phone. I reviewed the searchkick's docs and I've seen nothing about this issue. Anyone?

Posted in how to setup elasticsearch on Heroku?

Actually the solution is in the searchkick readme https://github.com/ankane/searchkick#deployment

Posted in how to setup elasticsearch on Heroku?

I implemented the elasticsearch/searchkick on my app and it works on develoment. But it's not working on production. I did heroku logs and these are the errors:

"Completed 500 Internal Server Error in 16ms (Searchkick: 8.0ms | ActiveRecord: 0.0ms)"

"Faraday::ConnectionFailed (Connection refused - connect(2) for "localhost" port 9200):"

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.