lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From findbestopensource <>
Subject Re: Can we just update one field of a document in a lucene index, and leave other fields along?
Date Thu, 09 Sep 2010 09:33:28 GMT
Hi fulin,

It is not possible. You need to add / update as a document. Even if you
modify a single field, you need to add all the fields. Update is nothing but
Delete and Add operation.

If you don't have the information of rest of the fields then you may need to
search and retreive the document, modify the single field and then update
the same.


2010/9/9 fulin tang <>

> if we can update only one field of a document in the index, a lot of
> jobs can be done here !
> 梦的开始挣扎于城市的边缘
> 心的远方执着在脚步的瞬间
> 我的宿命埋藏了寂寞的永远

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message