mongo模糊查询

criteria.orOperator(Criteria.where("port").is(Integer.parseInt(appPortSeacherName)),  
                    Criteria.where("protocol").regex(".*?" + appPortSeacherName + ".*"));  
原文地址:https://www.cnblogs.com/xiaoliu66007/p/14292620.html