title: Elasticsearch filter result ignoring search keyword
body: <p>I am getting good result with normal search query.</p>
  <pre><code>SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder();
  BoolQueryBuilder queryBuilder = new BoolQueryBuilder();
  
   String keyword = requestBody.getKeyword();
  
   queryBuilder.should(QueryBuilders.matchQuery(&quot;fullText&quot;, keyword));
  
   searchSourceBuilder.query(queryBuilder);
   searchSourceBuilder.from(requestBody.getPage() - 1);
   searchSourceBuilder.size(BROWSE_PAGE_DATA_LIMIT);
  
   searchRequest.source(searchSourceBuilder);
  
      try {
          return client.search(searchRequest, RequestOptions.DEFAULT);
      } catch (IOException e) {
          throw new HttpServerErrorException(HttpStatus.INTERNAL_SERVER_ERROR, &quot;Error in ES search&quot;);
      }
  </code></pre>
  <p>But when I add filtering with it, the result is ignoring my search keyword.</p>
  <pre><code>queryBuilder.filter(QueryBuilders.termsQuery(&quot;authorId&quot;, filter.getAuthorIds()));
  </code></pre>
  <p>here I am trying to replace fq of solr. What's wrong at my approach.</p>