I have a field which can have values like:
"Jack + Jill"
I use a character filter to convert "+"
and "&
" into "and"
so for "Jack + Jill"
the tokens are:
Jack
And
Jill
My users then search for "jack + jill"
or "jack & jill"
or "jack and jill
" and get the right result.
The thing is: my users also get "jack + jill"
when they search for"jack"
.
I would like to know when the search result is brought using ALL tokens. vs. only one. This has meaning for my result display order. if someone searched for "jack and jill"
, I would like to show it BEFORE any other partial "jack"
elsewhere.
how is that achieved?