title: NativeSearchQueryBuilder with spring data elasticsearch
body: <p>I need to make search with NativeSearchQueryBuilder it works but when I add filter it doesn't work </p>
  
  <pre><code>    SearchQuery searchQuery = new NativeSearchQueryBuilder()
              .withQuery(queryString(query))
              .withFilter(FilterBuilders.termFilter("domain", "TEST"))
              .build();
      Page&lt;Asset&gt; asset =
              elasticsearchTemplate.queryForPage(searchQuery,Asset.class);
      return asset.getContent();
  </code></pre>
  
  <p>the entity Asset.java </p>
  
  <pre><code> @Entity
   @Table(name = "ASSET")
   @Document(indexName = "asset")
   public class Asset implements Serializable {
  
  @Id
  @GeneratedValue(strategy = GenerationType.AUTO)
  private Long id;
  
  @NotNull
  @Size(max = 50)
  @Column(name = "name", length = 50, nullable = false)
  private String name;
  
  @Column(name = "domain")
  private String domain;
  
  //getter and setter
  </code></pre>
  
  <p>}</p>
  
  <p>test data</p>
  
  <pre><code>  id;name;domain
     1;name1;TEST
     2;name2;TEST
     3;name3;DEMO
     4;name4;DEMO
     5;name5;TEST
  </code></pre>
  
  <p>Can anyone help me where is the error please?</p>