Can querymen automatically handle lowercase vs uppercase searches
Opened this issue · 4 comments
Deleted user commented
I have one entry like this
{"english": "Exact count-per-interval interobserver agreement (IOA)"}
when i query for ?english=exact
i get 0 return from postman
when i query for ?english=Exact
i get the correct response.
Is there a way to tell querymen, 'dont worry about lowercase vs uppercase'?
how can we force querymen to ignore this?
diegohaz commented
Try to pass normalize: true
to the field properties in query()
.
diegohaz commented
type: RegExp
should solve this as well.
Deleted user commented
diegohaz commented
Cool! I guess you don't need operator: '$regex'
as type: RegExp
will already handle it.