I am using laravel 4.2. my database is mongodb. I have a table called products and a field in my db which is called brand
that has a value of ABC
in uppercase.
When using this query ['term' => ['brand' => 'ABC']]
the result set is empty.
But when i tried using this ['term' => ['brand' => 'abc']]
it is actually working and returning all the products with brand = 'ABC'
.
My question is why elasticsearch cannot find uppercase letters?