This message was deleted.
# community-help
s
This message was deleted.
k
There's also a best field weight which might help identify the field. But weights are normalised so might not match exactly with values sent if the weight values are large.
Ofc if several fields share weights then this won't help.
j
I'm not sending any specific weights right now, so I assume all of the fields are weighted the same.
Essentially I want to show only the field that "most" matched the search term in the UI - is there another way to go about doing that?
k
Hmm that's not quite possible
j
I guess I'll just sort the highlight fields by number of matched tokens and pick the highest one then, cheers.
👍 1