No. See the FAQ. http://wiki.apache.org/lucene-java/LuceneFAQ#How_do_I_update_a_document_or_a_set_of_documents_that_are_already_indexed.3F
There are a couple of ideas floating around e.g. http://www.flax.co.uk/blog/2012/06/22/updating-individual-fields-in-lucene-with-a-redis-backed-codec/ or https://issues.apache.org/jira/browse/LUCENE-3837 but to the best of my knowledge neither are ready for general use. -- Ian. On Mon, Aug 20, 2012 at 3:59 PM, grainne wallace <grainne.wall...@anaeko.com> wrote: > > Hi there, > > Is it possible to update a document in the lucene index with an additional > field? > I have a massive index and would like to add a numeric field with a date in > number format into each document. > This is to perform searches with NumericRangeFilters using the dates as > numbers when searching. > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org