I uploaded about 500 Keywords to the elastic cloud server. Each keyword can have a different amount of words from 1 up to 8. With each keyword I store the number of clicks as integer.
I want to use the whitespace analyzer to get the single words within a keyword.
Via Sense this request worked:
"text": "this is my keyword"
The question is: How can I use the whitespace analyzer for the data which is already stored in the elastic search cloud (the 500 keywords)?
In the example above I have to send a text wich will be "whitespace" analyzed. An not optimal solution to solve my problem could be a request to the elastic search cloud to get all 500 keywords and then the script analyze the 500 keywords in a loop with the whitespace analyzer. This seems not the perfect solution and so I'm wondering whether there is a smarter way?