Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

Delete file in index!!!

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


MMachado at LEVI

Jul 16, 2003, 2:41 AM

Post #1 of 3 (799 views)
Permalink
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


otis_gospodnetic at yahoo

Jul 16, 2003, 2:54 AM

Post #2 of 3 (740 views)
Permalink
Re: Delete file in index!!! [In reply to]

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 [at] LEVI 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 [at] jakarta
For additional commands, e-mail: lucene-user-help [at] jakarta


MMachado at LEVI

Jul 16, 2003, 2:56 AM

Post #3 of 3 (728 views)
Permalink
RE: Delete file in index!!! [In reply to]

Hi Otis,
Thank you very much, I will try now.
Regards,
Michel

-----Original Message-----
From: Otis Gospodnetic [mailto:otis_gospodnetic [at] yahoo]
Sent: Wednesday, July 16, 2003 11:55 AM
To: Lucene Users List
Subject: Re: Delete file in index!!!

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 [at] LEVI 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 [at] jakarta
For additional commands, e-mail: lucene-user-help [at] jakarta

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe [at] jakarta
For additional commands, e-mail: lucene-user-help [at] jakarta

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.