--分词收索
创建
String name = rs.getString("name");
if (name != null && !name.equals(""))
document.add(new Field("name", name, Field.Store.YES,
Field.Index.UN_TOKENIZED));
检索
query = new TermQuery(new Term("name", name));
booleanQuery.add(query, BooleanClause.Occur.MUST);