)?
Praveen
- Original Message -
From: Justin Swanhart [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 5:59 PM
Subject: Re: partial updating of lucene
You unstored fields were not stored in the index, only their terms
were stored. When you get
-
From: Erik Hatcher [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 10:00 AM
Subject: Re: partial updating of lucene
On Dec 9, 2004, at 9:48 AM, Praveen Peddi wrote:
But when I am searching, it only searches in the index. Stored fields are
only
On Thu, 2004-12-09 at 09:00, Erik Hatcher wrote:
Have a look at the tool Luke (Google for luke lucene :) and see how
it does its Reconstruct and Edit facility. It is possible, though
potentially lossy, to reconstruct a document and add it again.
Or look at LIMO's implementation of that
Hi all,
I have a question about updating the lucene document. I know that there is no
API to do that now. So this is what I am doing in order to update the document
with the field title.
1) Get the document from lucene index
2) Remove a field called title and add the same field with a modified
You unstored fields were not stored in the index, only their terms
were stored. When you get the document from the index and modify it,
those terms are lost when you add the document again.
You can either simply create a new document and populate all the
fields and add that document to the