spring-data-jest
spring-data-jest copied to clipboard
Question: how to build a suggestion query
Hi,
Is there a way to build a suggestion query with spring-data-jest? For example:
{
"_source" : {
"includes" : ["_id", "name", "state"],
"excludes" : ["geo"]
},
"suggest" : {
"suggestion" : {
"text" : "aus",
"completion" : {
"field" : "suggest",
"size" : 10
}
}
}
}
Hi @xnaud , Unfortunately it's not already implemented. Feel free to submit a PR related to this enhancement.
Thanks. Julien.