You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Hetan Shah <He...@Sun.COM> on 2004/11/15 22:45:41 UTC

Incremental Indexing

Hello All,

Is it possible to index the documents in incremental fashion. What I 
mean by this is, update the document in the index only if it has changed 
since last time it was indexed. This can save considerable amount of 
time while indexing.

Any pointers are appreciated.
-H


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


Re: Incremental Indexing

Posted by Sergiu Gordea <gs...@ifit.uni-klu.ac.at>.
Hetan Shah wrote:

> Hello All,
>
> Is it possible to index the documents in incremental fashion. What I 
> mean by this is, update the document in the index only if it has 
> changed since last time it was indexed. This can save considerable 
> amount of time while indexing.
>
Sure .. but I'm affraid you have to implement your isChanged() method 
yourself ...
This might application specific function anyway.

 Sergiu

> Any pointers are appreciated.
> -H
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>



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


Re: Incremental Indexing

Posted by Luke Shannon <ls...@hypermedia.com>.
Take a peak at IndexHTML.java in the demo that ships with Lucene. It
performs an incremental update as you have described.

----- Original Message ----- 
From: "Hetan Shah" <He...@Sun.COM>
To: "Lucene Users List" <lu...@jakarta.apache.org>
Sent: Monday, November 15, 2004 4:45 PM
Subject: Incremental Indexing


> Hello All,
>
> Is it possible to index the documents in incremental fashion. What I
> mean by this is, update the document in the index only if it has changed
> since last time it was indexed. This can save considerable amount of
> time while indexing.
>
> Any pointers are appreciated.
> -H
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>



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