697071727374757677
BooleanQuery booleanQuery, String field, String text) { text = KeywordsUtil.escape(text); Term term = new Term(field, text); TermQuery termQuery = new TermQuery(term); booleanQuery.add(termQuery, BooleanClause.Occur.MUST); }