lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: On update are index files only appended to?
Date Sat, 26 Jun 2010 05:17:23 GMT
Dennis,

That's a user@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 <dheretz@ebscohost.com>
> To: java-dev@lucene.apache.org
> 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:dev-unsubscribe@lucene.apache.org">dev-unsubscribe@lucene.apache.org
For 
> additional commands, e-mail: 
> href="mailto:dev-help@lucene.apache.org">dev-help@lucene.apache.org

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


Mime
View raw message