9596979899100101
} catch(Exception e){ logger.error("error constructing indexable for field: "+name+" ==> "+e.getMessage(),e); } } return new IndexingReq[]{new IndexingReq(doc)}; }
2324252627282930313233
@Override public IndexingReq[] buildIndexingReqs() { Document doc = new Document(); doc.add(new Field("contents", text, Store.NO, Index.ANALYZED)); return new IndexingReq[] { new IndexingReq(doc) }; } @Override public long getUID() { return uid;