Problem Statement/Rationale
What is going wrong? What action would you like the Engineering team to take?
Steps to Reproduce
Add a $search stage in your aggregation, with code similar to this
{
|
index: 'mflix-movies-fts',
|
text: {
|
query: 'henry',
|
path: 'cast',
|
score: {
|
'function': {
|
gauss: {
|
path: {
|
value: 'rating',
|
undefined: 50,
|
},
|
origin: 95,
|
scale: 5,
|
offset: 5,
|
decay: 0.5
|
}
|
}
|
}
|
}
|
}
|
Expected Results
User can export to language
Actual Results
An error message appears
no viable alternative at input '[{$search: {\n index: 'mflix-movies-fts',\n text: {\n query: 'henry',\n path: 'cast',\n score: {\n 'function': {\n gauss: {\n path: {\n value: 'rating',\n undefined'
|
Additional Notes
Tried with quotes like 'undefined' of "undefined" with same result
|