When position are not available if the user search for a phrase query, we just return an error message explaining that phrase query are not supported for this field.
Still, users who haven't any position may still want a mechanism to feed tantivy with a phrase, and have it tokenized. (just not have position matching)
We need some syntax to do this.
backticks? text:`elu par cette crapule`
parenthesis? text:(elu par cette crapule)
bracket? text:[elu par cette crapule]
single quotation mark? text:'elu par cette crapule'
I have a preference for parenthesis or single quote.
When position are not available if the user search for a phrase query, we just return an error message explaining that phrase query are not supported for this field.
Still, users who haven't any position may still want a mechanism to feed tantivy with a phrase, and have it tokenized. (just not have position matching)
We need some syntax to do this.
text:`elu par cette crapule`
text:(elu par cette crapule)
text:[elu par cette crapule]
text:'elu par cette crapule'
I have a preference for parenthesis or single quote.