is there any way to input multiple values to a completion suggestor dynamically?like taking the shingles generated by a shingle token filter as the input?
eg. this is the mapping for completion suggestor field used
PUT test/_mapping/faq
{
"properties": {
"content" : {
"type" : "completion"
}
}
}
This is the query used for indexing
PUT test/faq/1
{
"content" : ["machine learning"]
}
is there any way to input all combinations of "machine learning" to content field by using an analyzer? if i need to specify each combinations manually while indexing?