Elasticsearch on Windows machine


Active member
We are running our Xenforo forum on a Windows machine with IIS8 and PHP7. All is working well.

We would like to buy the Enhanced Search Support, but we need Elasticsearch for it. I'm able to install it and run it as a windows service, but is that enough.

For the installation I see curl commands which are not part of Windows. I can install an emulator box, but is it needed? How does Xenforo communicate with the elasticsearch service?

I also saw somewhere that Java is needed to make elasticsearch work?


XenForo developer
Staff member
You can run Elasticsearch on Windows without issue. You will need to have Java installed and setup properly for it to work. There's some discussion for that here: https://www.elastic.co/guide/en/elasticsearch/reference/current/_installation.html They list Windows equivalents in a few cases.

Setting it up as a service is discussed here: https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-service-win.html There's also reference to an MSI version, though I haven't used that.

Elasticsearch is accessed via an HTTP interface (on an obscure port).


Active member
So its quite simpel:

Install Java
Install Elasticsearch
Buy the Enhanced Search function

I noticed the MSI also, but it has rather old builds of elasticsearch.

Thanks for your quick reply Mike!