Hey guys,
elsatic version 6.1
i want to combine the context suggestor with multiple inputs like this example
PUT place/doc/3
{
"suggest": [
{
"input": "Berlin",
"weight": 10
},
{
"input": "123 Berlin",
"weight": 3
}],
"contexts": {
"countryCode": ["DE"],
"featureCode": ["PPL"]
}
}
this will not work. only if i have a single input line like
PUT place/doc/2
{
"suggest": {
"input": ["berlin", "123 berlin"],
"contexts": {
"countryCode": ["AT"],
"featureCode": ["PPL"]
}
}
}
is it possible to make the suggest working with context and multipe input fields && weights ?