Can ElasticPress.io be used with software other than WordPress?
Although ElasticPress.io was fully built with WordPress in mind, it is totally possible to use our Elasticsearch hosting service with any other software or programming language.
To build your own integration of ElasticPress.io with any CMS like Drupal, framework like Laravel, or programming language like Typescript or Python, you’ll have to go through some steps:
- Create your index. This process is defined by the fields you need, which in Elasticsearch is called “mapping”;
- Sync your content. After creating your index, it is time to store a version of your content in it.
- Search for your content. This can be done either by calling the Elasticsearch _search endpoint (which requires an authenticated request) or by using our Search API.
To help you figure out how each of those steps works, we’ve created a native PHP project called ElasticPress.io Sample Project. In that repo, you will see how the entire process works independently of WordPress.
Additionally, if you are developing a solution using React, consider using our EPIO Search component.
If you are interested in integrating ElasticPress.io with your project and need some help with development, you can also check out our Consulting options.