How to set analyzer in Java Client Elasticsearch -> Search Request Builder in query time
Hey
somthing like this
client.search(b -> b
.index(INDEX)
.query(qb -> qb.match(mqb -> mqb
.field("my_field")
.query(builder -> builder.stringValue("my query"))
.analyzer("my_analyzer")))
1 Like
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.