Hi,
i´ve been trying for 2 days to figure out how can i perform CRUD operation in Elasticsearch (version 6.5) for Completion Suggester with the Java API. (RestHighLevelClient).
I already checked the whole documentation and i´m more confused than before..It´s pretty incredible for an easy task like this..
For example, how can i perform an equivalent operation with the Java API?:
PUT music/_doc/1?refresh
{
"suggest" : {
"input": [ "Nevermind", "Nirvana" ],
"weight" : 34
}
}
Could maybe someone point me to the related documentation?
Thank you.