Search add-on in v 2.1

I have a couple of questions on the Search component add-on

  1. Is it mandatory to have Elasticsearch account (which is a commercial product) to use this add-on?
  2. Can we use the search addon to search menu items (useful for any large applications) like we had an option in CUBA? If yes, please share snippets.

regards

Hi,

  1. You don’t have to subscribe to the commercial features of Elasticserach to use it as a search engine in Jmix.
  2. Currently, it is better to use TextField to search through the menu.
    Here is some info on how to do this: Menu search
    We are also working on implementing this as an out-of-the-box feature: Search in main menu · Issue #1244 · jmix-framework/jmix · GitHub

Regards,
Alex

1 Like

Question 1 is a very good question.
Here is the comparison between the editions:
https://www.elastic.co/subscriptions
We can see that on the free column, there is nice (1) and (2).
It leads to a licensing FAQ
https://www.elastic.co/pricing/faq/licensing

Among other things, my understanding is this:

  • you can download and install Elastic, and develop your app free of charge
  • Elastic is not OSI Open Source - they have their own elastic license that applies by default if you download a binary from them, and there is an optional SSPL license if you build it from the source
  • you can not use it for free if you have a commercial SaaS product

Is it possible to download Elastic, include it with your Jmix application using Jmix addon, and deliver it to a commercial customer without paying Elastic, using their free edition?

The answer to that is not so clear at all, and I would definitely spend a long time reading and researching all this and making sure if I were to use it. For example, if you use the multitenancy add-on, would it make your application Saas?

Definitely, it is a great thing that Jmix has an add-on for Elastic, but I would feel better if the add-on would work with an Amazon fork of Elastic, https://github.com/opensearch-project

1 Like

Thanks for your feedback.
We’ve made some analysis about implementing support for OpenSearch: https://github.com/jmix-framework/jmix/issues/2094. It looks promising.

3 Likes