java.lang.IllegalStateException: unexpected byte [0x02]

i am using query builder with simple query string  to search data using elastic search template iam facing above error my code is 

  final QueryBuilder searchquery = QueryBuilders.boolQuery()

        final NativeSearchQuery build = new NativeSearchQueryBuilder().withQuery(searchquery)
                .withPageable(PageRequest.of(0, 5))

        final List<FaqTranslationEntity> questions = this.elasticsearchTemplate.queryForList(build, FaqTranslationEntity.class);
plz help me out !!!


Please don't open the same question multiple times. Let's have the discussion in only one place: Java.lang.illegalstateexception: unexpected byte [0x02] elasticsearch