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 MM...@LEVI.com on 2003/07/16 11:41:57 UTC
Delete file in index!!!
Hi,
I have a problem with deleting files in my directory and after this to my
index. When I do an upload file to my directory to replace and old one ,
this is not replaced but added with another extension after .doc, .xls(e.g :
.xls.2323234). After I need to reindex my all directory (is there another
way to not reindex all and only to reindex the new file?) and how can I do
to upload file to replace an old one automatically? If somebody have time
to answer I wiil appreciate. Thanks in advance.
PS: my English is poor but I hope that somebody can understand my problem.
Regards,
Michel
Re: Delete file in index!!!
Posted by Otis Gospodnetic <ot...@yahoo.com>.
Michel,
Regarding file uploads, I am not sure, but you should really ask that
elsewhere. I am not sure where.
Regarding indexing only updated files, that is easy. When indexing
your files, store the last modified date in a field in your index.
Then, when re-indexing the files, get their last modified date from the
file system, and compare them to the date stored in the index.
Otis
--- MMachado@LEVI.com wrote:
> Hi,
>
> I have a problem with deleting files in my directory and after this
> to my
> index. When I do an upload file to my directory to replace and old
> one ,
> this is not replaced but added with another extension after .doc,
> .xls(e.g :
> .xls.2323234). After I need to reindex my all directory (is there
> another
> way to not reindex all and only to reindex the new file?) and how can
> I do
> to upload file to replace an old one automatically? If somebody have
> time
> to answer I wiil appreciate. Thanks in advance.
>
> PS: my English is poor but I hope that somebody can understand my
> problem.
>
>
>
> Regards,
>
> Michel
>
>
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org