摘要: /** * 搜索域加权 */ Map boosts = new HashMap(); boosts.put("title", 1.2f); boosts.put("author", 1.1f); boosts.put("content", 1.0f); /** * 多条件之间的关系 */ BooleanClause.Occur[] flags = {BooleanClause.Occ... 阅读全文
posted @ 2016-12-16 16:29 不知为何就叫呵呵 阅读(3548) 评论(1) 推荐(0) 编辑