Hi,
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()
.should(QueryBuilders.simpleQueryStringQuery(text)
.field("question")
.lenient(true));
final NativeSearchQuery build = new NativeSearchQueryBuilder().withQuery(searchquery)
.withPageable(PageRequest.of(0, 5))
.build();
final List<FaqTranslationEntity> questions = this.elasticsearchTemplate.queryForList(build, FaqTranslationEntity.class);
plz help me out !!!
Welcome!
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
Thanks