Re: updating existing field values

2008-08-07 Thread Michael McCandless
It's also possible to create your own code that uses FieldsReader and FieldsWriter (both in org.apache.lucene.index) directly to create new fdx/fdt files, with the date fixed on each document. You'd have to enumerate over all segments in your index, create a FieldsReader instance on each

Re: updating existing field values

2008-08-07 Thread Andrzej Bialecki
Robert Stewart wrote: Given an existing index, is there any way to update the value of a particular field across all documents, without deleting/re-indexing documents? For instance, if I have a date field, and I need to offset all dates based on change to stored time zone (subtract 12 hours from