Issue #397 resolved
Exact phrase search
I have a field of type TEXT in my schema. It has a stemming analyser. Everything works well when I run searches with a MultiFieldParser as long as I don't use phrases in my query. I was expecting the phrase search to be an exact search. So for instance if I search for "a record*" I would only get document with my field containing exactly "a record*". However the same parsing is applied to the query and it return all documents that contains "record", "records". the same applies if I use single quotes. Is there a way to force an exact search on my field which, apart from being case-insensitive, will find only exact matches without transforming my phrase? Note that I've considered using a secondary field of type ID in my schema called FIELD_exact. And then convert the phrase in the query to FIELD_exact:*"PHRASE"*. But doing something like that with a MultiFieldParser is not trivial as I can have logical operators and other non-obvious things to analyse.