I am trying to create a web application using spring boot. My persistent data is stored on PostgreSQL database. However, I need to use elasticsearch for Full Text Search. (I know there is postgres Full text search but I need elastic). For this purpose I'm using zombodb. This is an extension of Postgres that allows postgres and ElasticSearch to work together. But it has its own sql syntax. Example of a full text search:
SELECT * FROM products WHERE products ==> 'sports or box'
When I use directly this query, it works. However, when I want to use native query with parameter like
SELECT * FROM products WHERE products ==> :searched
it gives "operator does not exist: products ==> character varying" error. İs there any solutions?