SpringMongo Case insensitive search regex
===

I am trying a case insensitive search in Mongo. Basically I want case insensitive string match I am using regex. Here is my code

    Query query = new Query( Criteria.where(propName).regex(value.toString(), "i"));

But the above dosent match my whole string(a string sometime with spaces). It returns values even if its a substring. 

Eg: It returns me "bill" if my search is "bill status"(as bill is substring of bill status).

I tried `Query query = new Query( Criteria.where(propName).is(value.toString()));`

But the above is case sensitive. Can someone please help on this. 