Questions tagged [bonsai-elasticsearch]

Questions regarding Bonsai which provides on Demand Elasticsearch cluster

51 questions
0
votes
0 answers

Searchkick::ImportError "no such index"

I have a Rails application hosted in Heroku and it uses the searchkick gem version 4.6.1. I'm using Bonsai add-on. I only have one model that uses searchkick: class Program < ApplicationRecord searchkick # blah blah blah scope…
0
votes
2 answers

Not able to put data into elastic search index

Need help. I'm new to elasticsearch. I've created an account at bonsai.io to create an elastic search platform. I've been trying the below code base to connect but everytime I'm receiving error. Code: import org.apache.http.HttpHost; import…
0
votes
1 answer

How to Add Previously Stored Data in Elasticsearch index

hope you are fine! I have implement elasticsearch Locally & also in production on Heroku but I face a problem on Heroku that when I create an index by curl -XPUT https://your:bonsai@url-here.us-east-1.bonsai.io/blogs-blogs I can search from the…
0
votes
1 answer

How to sort Elasticsearch by documents in an id?

I am using the free tier of Bonsai and am trying to write a script to manage the number of documents in my Elastic index. To maximize the number of documents I can save, I would like to start removing docs for which there are many nested documents…
0
votes
1 answer

How to index documents in Elasticsearch to minimize document count?

I am trying to conserve doc count in Bonsai's Elasticsearch cluster. They've said that when I use nested fields, each nested field counts as an additional document. Is there a way to index my data to have nested fields (like multiple entries for…
0
votes
2 answers

Elasticsearch exception : mappping depth in index has been exceeded

I have setup an Elasticsearch cluster on Bonsai. I am using elasticsearch-rest-high-level-client library to read Twitter-tweets stored in Kafka and push them to the Elasticsearch index. I getting below exception : Exception in thread "main"…
Gaurav
  • 398
  • 8
  • 23
0
votes
1 answer

Connect Python to Bonsai

I am trying to connect to Bonsai using Python and for this I am using the code provided by Bonsai here. However, my code breaks at bonsai = os.environ['https://username:password@app-testing-3106893156.eu-central-1.bonsaisearch.net:443'] with…
agrajag_42
  • 155
  • 1
  • 12
0
votes
0 answers

How to solve elasticsearch index not found error on heroku?

I am trying to push my rails app on heroku, am using elastic-search in the app so on heroku i added the bonsai add on, everything works on Development, but on heroku it's giving the Application error when i checked the logs i found this: Bonsai:…
That dude
  • 379
  • 1
  • 4
  • 17
0
votes
0 answers

Whats the implication of SSD Capacity for a server running Elastic Search

I'm evaluating Bonsai Elastic Search packages to run my elastic search operations but I don't understand all plan specifications. What are the implications of SSD capacity? Source: https://elements.heroku.com/addons/bonsai I've researched that SSD =…
tim_xyz
  • 11,573
  • 17
  • 52
  • 97
0
votes
1 answer

Bonsai Elasticsearch add-on: 401 Unauthorised Error

In order to deploy my firebase application, which uses Elasticsearch I am looking at using Heroku Bonsai Add-on. Everything is set, issue is I am getting an unauthorised error on passing Ajax request. Exactly the same code has been working smoothly…
Manganese
  • 650
  • 5
  • 26
0
votes
1 answer

Bonsai Elasticsearch how to reduce replica

I have two models that I want to use the bonsai elasticsearch with. I created an index for each, and that led me to have total 4 shards(2 primary and 2 replicas). but I don't think I need that much space since, in my website, there is not much data…
0
votes
1 answer

Force flag on Bonsai elasticsearch import not working (heroku)

I'm following "Ruby on Rails" to set-up my Bonsai Elastic Search Heroku add-on, but the FORCE flag is not working. Here's the command from the instructions: heroku run rake environment elasticsearch:import:model CLASS='Company' FORCE=yes And…
0
votes
1 answer

Rails + Heroku + Bonsai still try to connect 9200

I attached a screenshot(error screen shot ) which indicates the error. Faraday::ConnectionFailed in Devise::SessionsController#create Connection refused - connect(2) for "localhost" port 9200 I am using bonsai with ruby on rails and deployed to…
hirokit
  • 1
  • 2
0
votes
2 answers

failed to connect with bonsai and elastic search and search kick on heroku

Trying to run elastic search with bonsai and search kick on heroku. it says it is starting but i keep getting a Faraday::ConnectionFailed (Connection refused - connect(2)): i am almost positive the bonsai URL is being set right. any idea how to…
0
votes
1 answer

Bonsai automatic indexing

I use MongoDb for storage with an express, Heroku-hosted app. I would like to provide search capabilities to some MongoDb collections, using ElasticSearch via the Bonsai Heroku add-on. However, according to the Bonsai faq, Elasticsearch River…
Manube
  • 5,110
  • 3
  • 35
  • 59