Questions regarding Bonsai which provides on Demand Elasticsearch cluster
Questions tagged [bonsai-elasticsearch]
51 questions
9
votes
2 answers
iOS Firebase Flashlight/ElasticSearch Heroku Setup using Node.JS
I'm building an iOS app in Swift with a Firebase backend. I need advanced search options for my app. I've been told I should use Flashlight/ElasticSearch via this github link https://github.com/firebase/flashlight
Assume my app's name is…

Lance Samaria
- 17,576
- 18
- 108
- 256
6
votes
2 answers
Setting up bonsai-elasticsearch in Jhipster - Heroku
After deploying to heroku my Jhipster app, I want to use cloud elasticsearch (Bonsai) with JHipster. Bonsai provides following env variable:
$BONSAI_URL
How is this properly added in application-prod.yml?
I`ve been reading the docs and trying too…

Rick GZ
- 135
- 1
- 3
- 12
4
votes
1 answer
bonsai-elasticsearch-rails - cannot require 'elasticsearch/rails/tasks/import'
When I run:
$ heroku run bundle exec rake environment elasticsearch:import:model CLASS='Artist' FORCE=true
the response in the terminal is:
Running bundle exec rake environment elasticsearch:import:model CLASS=Artist FORCE=true on doremi... up,…

oliverwillder
- 155
- 8
3
votes
1 answer
How to connect to Bonsai ElasticSearch on Heroku from a Java app
I have a Java application that is using ElasticSearch API to connect to Bonsai on Heroku. After deploying my app to Heroku I've found that it will be impossible to connect to a traditional ElasticSearch address 127.0.0.1:9300 via TransportClient.…

samba
- 2,821
- 6
- 30
- 85
3
votes
2 answers
Rails - Elasticsearch (Bonsai) with Heroku - Performance Issues
I am using Elasticsearch - Bonsai in one of my Ruby on Rails Project.
So, far things were going very smooth. But, the moment we launched this application to end-users and people started coming-in, we noticed that a single elasticsearch query takes…

Puneet Pandey
- 541
- 2
- 6
- 23
3
votes
1 answer
Accessing elasticsearch on Heroku/Bonsai with an open source client
This short passage from Heroku, states that a myriade of clients can be used to integrate to you Bonsai-es instance. I've tried out es-head and elastic hammer but with no luck.
"The Bonsai add-on provides an ElasticSearch index to your application,…

Jes Chergui
- 1,318
- 1
- 22
- 33
3
votes
0 answers
Tire returning no "hits" with Bonsai Elastic Search on Heroku
Locally, tire and elasticsearch work. However, tire doesn't seem to be working well with Bonsai on Heroku.
The index builds properly, however, Tire is not hitting the index with the search method. When I inspect the search method called on my model…

cmw
- 946
- 2
- 11
- 26
2
votes
2 answers
Install specific version of Bonsai Elasticsearch in Heroku
Is it possible to install a specific version of Bonsai Elasticsearch in Heroku ?
I'm trying to follow the documentation with this command line => heroku addons:create bonsai:[plan] [-a APP_NAME] [--version=X.Y] with this link…

Jb Sempé
- 21
- 1
2
votes
3 answers
Resetting indexes with ruflin/elastica throws HttpException on heroku
I'm using elasticsearch in a Symfony project with FOSElasticaBundle, that requires ruflin/elastica client. In order to create indexes I use the command suggested in the documentation of FOSElasticaBundle and in my local machine everything is going…

rastafermo
- 408
- 1
- 5
- 13
2
votes
0 answers
Index big document content into Bonsai synchronous fashion
I have implemented the Bonsai document indexing using Ruby on Rails and deployed on Heroku. when I loop through all the documents with document content indexing then I get http 504 error for some requests.
I am using elasticsearch-api gem with rails…

sushilprj
- 2,203
- 1
- 14
- 19
2
votes
0 answers
Configure Elasticsearch in JHipster with URL
I want to use cloud elasticsearch (Bonsai) with JHipster.
Bonsai provides BONSAI_URL env variable.
How is this properly configured in application-prod.yml?

emirc
- 1,948
- 1
- 23
- 38
2
votes
1 answer
Elasticsearch & Bonsai: IndexMissingException on Heroku, works fine locally
Building my first rails app and having issues getting Elasticsearch to run on Heroku.
Local works perfect.
On Heroku I can open the search page, but when I try to perform a search I get the error below:
Heroku logs…

LarryC
- 35
- 4
2
votes
1 answer
URI::InvalidURIError: the scheme http does not accept registry part: :9200 (or bad hostname?)
I am using Elasticsearch / SearchKick / Bonsai to set up search in production on Heroku. This is working beautifully locally, but I am having trouble indexing my objects on Heroku.
in config/initializers/bonsai.rb
require 'elasticsearch/model'
if…

Dani Fankhauser
- 651
- 6
- 16
2
votes
2 answers
Heroku Bonsai with gem 'bonsai-elasticsearch-rails' still looking for port 9200
I followed Heroku's instructions on setting up Bonsai Elasticsearch:
https://devcenter.heroku.com/articles/bonsai
with all of these in my Gemfile:
gem 'elasticsearch-model'
gem 'elasticsearch-rails'
gem 'bonsai-elasticsearch-rails'
However when I…

ecoding5
- 404
- 6
- 19
2
votes
1 answer
Rails app crashes on Heroku after implementing ElasticSearch
I just implemented ElasticSearch to my Rails App. Everything is working localy, but when I deployed my changes to Heroku, the app crashes.
When I run
heroku run rails c
in the Heroku cli, I get this error…

Toontje
- 1,415
- 4
- 25
- 43