There's no way to specify in a query something like:
- Search ONLY the "category" field for the term "fridg"
- Search ONLY the "name" field for the term "text"
For partial matching, you would place both terms in the "query" parameter. App Search will search all fields by default, so you would get a hit on document 2.
{
"query": "tele fridg"
}
You'll also get a hit on document 1 in this case, but document 2 should rank higher because it is a better match. And if that's not the case you can tweak your relevance tuning.