Dennis,

That's a u...@lucene question.

Update does delete followed by an add.
A delete just marks a document as deleted.  In other words, it modifies 
previously created index files.
Additions add new files.  Once certain thresholds are reached, an add will 
trigger a segment merge, which will modify previously created index files.

Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
> From: Dennis Heretz <[email protected]>
> To: [email protected]
> Sent: Fri, June 25, 2010 1:41:07 PM
> Subject: On update are index files only appended to?
> 
> 
Hi,

I have an index directory that I update daily via a process that 
> invokes
IndexWriter.updateDocument(). The daily update will be mostly adds 
> but some
changes to existing documents.

In this scenario, how are the 
> index files modified? Is it the case that all
mods will be either the 
> creation of new files or straight appends to
existing files? Or does the 
> update modify existing parts of existing files,
i.e. sections of the files 
> that were created the previous day.

Thanks!

Dennis
-- 
View 
> this message in context: 
> href="http://lucene.472066.n3.nabble.com/On-update-are-index-files-only-appended-to-tp922625p922625.html";
>  
> target=_blank 
> >http://lucene.472066.n3.nabble.com/On-update-are-index-files-only-appended-to-tp922625p922625.html
Sent 
> from the Lucene - Java Developer mailing list archive at 
> Nabble.com.

---------------------------------------------------------------------
To 
> unsubscribe, e-mail: 
> href="mailto:[email protected]";>[email protected]
For 
> additional commands, e-mail: 
> href="mailto:[email protected]";>[email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to