Can Elasticsearch be used on Repl.it? The Flask Mega Tutorial suggests that Elasticsearch has to be installed on your machine and that the Elasticsearch python library connects to the service running on your machine, so I'm unsure of how to enable this functionality on repl.it and google searches aren't helping.
To be specific, I'm not asking for help with the Elasticsearch python library, I'm asking about installing an Elasticsearch node on repl.it, which is a separate process.
I'm not having problems installing the python library. The library has an external dependency and is useless on its own. I need to know if repl.it supports the external dependency.
There's the Elasticsearch library and the Elasticsearch server. I know how to install the library. I'm asking if it's possible to install the server.
Pip install elasticsearch is not the solution to this problem.. @OldWizard209
I've successfully installed it via pip. Like I said, the library doesn't work without the server. Without the server, it fails connections every time because the server is a required component and is not installable via pip because it's not a python library.
Elasticsearch's python library connects to the Elasticsearch server API. Without the server running, the library can't do anything. I need the server, not the library @Coder100
I'm just going to ask this: have you ever used Elasticsearch on repl.it? Because it doesn't seem like you understand what I'm asking here.
Here's a visual explanation of the problem:
You can see that I pip installed elasticsearch. You can see that I imported it and created an object without error. However, once I try to use that object, it fails with a connection error. The connection is being refused because the Elasticsearch server is not running.