一直很好奇当初Apache曾经说的即将推出的UpdateDocuments()方法是个什么样的方法,Lucene索引的这种紧凑的文件结构如何能“允许”这个“Update”动作的发生呢?

千呼万唤始出来,不出所料,还是换汤不换药

 

注释
    /// In either case, documents are added with {@link #AddDocument(Document)
    
/// addDocument} and removed with {@link #DeleteDocuments(Term)} or {@link
    
/// #DeleteDocuments(Query)}. A document can be updated with {@link
    
/// #UpdateDocument(Term, Document) updateDocument} (which just deletes
    
/// and then adds the entire document). When finished adding, deleting 
    
/// and updating documents, {@link #Close() close} should be called.

 

 

 

相关文章:

  • 2021-09-21
  • 2021-07-13
  • 2021-08-21
  • 2022-12-23
  • 2022-02-27
  • 2021-12-05
  • 2022-12-23
  • 2021-05-19
猜你喜欢
  • 2022-12-23
  • 2021-11-20
  • 2021-10-26
  • 2021-07-06
  • 2021-07-08
  • 2022-01-12
  • 2021-10-22
相关资源
相似解决方案