I have a list of documents
[
{
"shortName": "CA",
"longName": "California"
},
{
"shortName": "New York",
"longName": "New York"
},
]
How to configure the query to select only the first field that matches, something like maximumSouldMatch=1
For example if I search New York, it should match only shortName but not both, as in this case the score will be doubled