Elaticsearch multiMatchQuery with wildcard


I have a requirement to search in all the fileds data with wild card in java using elaticsearch spring data in spring boot
Here is my code

String queryString = "362*";

            final Query searchQuery = new NativeSearchQueryBuilder().withFilter(QueryBuilders.multiMatchQuery(queryString))
           SearchHits<Measurement>  meas = elasticsearchTemplate.search(searchQuery, Measurement.class);

i am not able to get results with wildcard.

can someone help here.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.