this question is very similar to another post
I basically want to use the mongodb version of the sql \"like\" \'%m%\' operator
but in my situation i\'m using
To make it case insensitive:
Document doc = new Document("name", Pattern.compile(keyword, Pattern.CASE_INSENSITIVE)); collection.find(doc);