目的 一般我们存储在数据库中的数据,都可以由pojo类表示。通用的Lucene索引管理就是要能够对所有的pojo能够实行Luncene索引。 用法 //建立属性映射列表 List list = new ArrayList(); FieldAttribute nameAttr = new FieldAttribute("name", "name", "YES", "TOKENIZED"); //这是一个嵌套属性. FieldAttribute nestedAttr = new FieldAttribute("txt", "nested.txt", "YES", "TOKENI ...
jander
搜索本博客
博客分类
最近加入圈子
最新评论