lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Parkes" <steven_par...@esseff.org>
Subject RE: document field updates
Date Tue, 27 Feb 2007 20:40:08 GMT
It is true that you can store more data and that will make it possible
to get it back. Storing fields (w/ or w/o indexing) allows you to pull
them back. Storing term vectors gives you something in-between nothing
and everything.

However, you're still gonna get stuck on the "update" part. Lucene does
not rewrite segments. It's fundamental to Lucene that it doesn't: from
that a lot of Lucene's concurrent nature flow.

The way I think of it is that Lucene never adds docs to segments. It
creates single doc segments and it merges segments to create bigger
segments. No where in that model is there the concept of changing
anything inside a segment once it's been created.

Could you tell a little more about why delete/reinsert is not viable for
you? A lot of people have dealt with this issue and come up with
acceptable solutions ...

-----Original Message-----
From: Neal Richter [mailto:nrichter@gmail.com] 
Sent: Tuesday, February 27, 2007 11:52 AM
To: java-user@lucene.apache.org
Subject: RE: document field updates

Steven Parkes wrote:
>There are no plans to do this. It's essentially impossible, given (1)
>the reverse nature of text indexes and (2) Lucene's write-once segment
>architecture.

What if the field is stored and unindexed?  It should be possible to
update the contents of that  in isolation.  How would that be done?

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message