It's posible to create an Advanced Search page in WP powered by Elastic Search

Hi Team,

I have no experience with Elastic Search, I have read a lot about it, and I found it awesome. I would like to adopt and integtate Elastic Search in a content website which is based on Wordpress.
The website runs a community platform and theme (buddyboss), the WP native search is great for community needs.
As the website has a lot of content for documentation purposes, we need to approach Elatic Search to power an advanced function of searching the content.
My idea would would be to let the WP native search as it is with own search results page natively from the theme and, separately, create an Advanced Search page (I don't know if as a stand alone page or as a subdomain) where data would be triggered from Elastic Search index (which will be installed on same hosting but on another VPS).
My question, if you could help us, is if this Advanced Search page could work this way, and how this could be done.
MAny thanks!

Hi!

There are a few ways you can go about this. As of now the integration with Wordpress isn't something that Elastic has a native, supported solution for; but there are a few ways you can still make it work.

There are some existing plugins for the community that can make this easier, as you can see on the list here - elasticpress is one of the recommended options. While there will be multiple other solutions online depending on how much you want to build from scratch / if you want to host the search solution yourself / etc depending on your specific requirements. This also depends on how you have your Wordpress app setup - and this is not something we can assist much with unfortunately.

On the other hand, there's also the out of the box App Search solution from Elastic that will give you a lot of features like observability and customization. This is something you can look into if you're interested in an enterprise solution.

Lastly (and probably best option if you're developing everything yourselves), you can build a simpler search engine in your Elastic environment and have your website make calls to wherever you're hosting this solution.
You will find a lot of documentation and starting guides on the Elastic domains about setting up an index for the data you want to make searchable and building your custom Advanced Search from there. Some useful links:

Then you can separate the question into "how to build this custom solution" and the Wordpress integration as a separate options.
We can help more with the first part if you have some more specific questions going beyond the tutorials.

Hope this helps as a starting point!

Hi,

thank you for your kind support.
Agree with you about the question should be separated in two branches, building the custom solution and WP integration of the custom solution. Maybe building an app and host it to a subdomain of the wordpress website would be a valid point. Considering my team has no experience with Elastic Search, have to see how to start this journey :slight_smile: