void AddDocument(IndexWriter writer, string content)70 {71 Document document = new Document();72 document.Add(new Field("content", content, Field.Store.YES, Field.Index.TOKENIZED));73 writer.AddDocument(document);74 }
- 1 回答
- 0 关注
- 1266 浏览
添加回答
举报
0/150
提交
取消