title: How to use Custom Query with spring boot data jpa
body: <p>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  <a href="https://github.com/zombodb/zombodb" rel="nofollow noreferrer">zombodb</a>. This is an extension of Postgres that allows postgres and ElasticSearch to work together. But it has its own sql  <a href="https://github.com/zombodb/zombodb/blob/master/TUTORIAL.md" rel="nofollow noreferrer">syntax</a>. Example of a full text search:</p>
  
  <pre><code>SELECT * FROM products WHERE products ==&gt; 'sports or box' 
  </code></pre>
  
  <p>When I use directly this query, it works. However, when I want to use native query with parameter like</p>
  
  <pre><code>SELECT * FROM products WHERE products ==&gt; :searched
  </code></pre>
  
  <p>it gives "operator does not exist: products ==> character varying" error. 
  İs there any solutions? </p>