This message was deleted.
# community-help
s
This message was deleted.
j
> Unfortunately, instead of matching the foo field, it matches the bar Not sure I understand this part. Could you share a set of curl commands like this that describes the issue: http://gist.github.com/jasonbosco/7c3432713216c378472f13e72246f46b
a
I mean that the
bar
key has a highest match even though
foo
has greater priority and weight
j
Right, that's because prefix matches are considered better matches than infix matches (since these occur in the middle of the word)
In your specific case, you might want to consider adding
-
as to
token_separators
when creating the collection
That way you don't even need to use infix matching
a
Thank you so much my friend! Will do as you suggest!
👍 1