I am an Engineering Physics graduate from IIT Guwahati, but merely not restricted to Physics itself. In the past few years, I involved in many Cybersecurity blogging and now on Open-source.
Yeah, I check it, the problem lies over configuring bonsai elastic search; I'm referring their documentation for better understanding of how the BONSAI_URL works.
As the elastic search was not detecting(by default), I'm actually trying to create an 'elasticsearch.rb' initialiser in config/initilizer/elasticsearach.rb
My trial right now was to force ELASTICSEARCH_URL environment variable to a public cluster rather than a local:9200.
If you have any suggestion, I would be glad to check those too.
You don't need an initializer, Elasticsearch is initialized with ELASTICSEARCH_URL, by pointing that to an external server you can run it with a managed installation of the search server. By default it points to localhost:9200 as you noticed. Have a look at .env_sample, it contains the variables we use.
For further actions, you may consider blocking this person and/or reporting abuse
Yeah, I check it, the problem lies over configuring bonsai elastic search; I'm referring their documentation for better understanding of how the BONSAI_URL works.
As the elastic search was not detecting(by default), I'm actually trying to create an 'elasticsearch.rb' initialiser in
config/initilizer/elasticsearach.rb
My trial right now was to force ELASTICSEARCH_URL environment variable to a public cluster rather than a local:9200.
If you have any suggestion, I would be glad to check those too.
You don't need an initializer, Elasticsearch is initialized with
ELASTICSEARCH_URL
, by pointing that to an external server you can run it with a managed installation of the search server. By default it points to localhost:9200 as you noticed. Have a look at .env_sample, it contains the variables we use.