IndexReader delete(int i)

2005-08-29 Thread Derya Kasapoglu
Hi, if i delete a document from index, what does the it do? I want to know because if i delete documents from index which are not anymore in the dokument directories like that: IndexReader reader = IndexReader.open(dir); for (int i=0; i if (!file.exists()) reader.delete(i); } reader.cl

RE: UpdateIndex

2005-08-29 Thread Derya Kasapoglu
Thank you for your help! But it doesn't work that way!! My code is: IndexReader reader = IndexReader.open(dir); for (int i=0; i --- Ursprüngliche Nachricht --- > Von: "Mordo, Aviran (EXP N-NANNATEK)" <[EMAIL PROTECTED]> > An: java-user@lucene.apache.org > Betreff: RE: UpdateIndex > Datum: Mon,

hslf ppt files

2005-08-23 Thread Derya Kasapoglu
Hi, is there anybody who have the poi hslf classes to extract text from Power Point files. I know the classes are on the poi sites but they are not packaged in a jar! If i download all of them by myself i get version problems! So maybe someone has a jar file and can send me? Thanks in forward By

Re: UpdateIndex

2005-08-23 Thread Derya Kasapoglu
> --- Ursprüngliche Nachricht --- > Von: "Derya Kasapoglu" <[EMAIL PROTECTED]> > An: java-user@lucene.apache.org > Betreff: Re: UpdateIndex > Datum: Tue, 23 Aug 2005 13:33:05 +0200 (MEST) > > I meant the reader.hasDeletions() returns null and reader.delete(term

Re: UpdateIndex

2005-08-23 Thread Derya Kasapoglu
ava-user@lucene.apache.org > Betreff: Re: UpdateIndex > Datum: Tue, 23 Aug 2005 12:09:07 +0100 > > On Tue, 2005-08-23 at 12:54 +0200, Derya Kasapoglu wrote: > > Yes, it returns null. > > But this is a little bit funny because the searching is correct > > and it find

Re: UpdateIndex

2005-08-23 Thread Derya Kasapoglu
; An: java-user@lucene.apache.org > Betreff: Re: UpdateIndex > Datum: Tue, 23 Aug 2005 11:47:22 +0100 > > On Tue, 2005-08-23 at 12:38 +0200, Derya Kasapoglu wrote: > > i query the index for the path of the files in the directory and compare > the > > dates. > > But i hav

Re: UpdateIndex

2005-08-23 Thread Derya Kasapoglu
Hi, i'm writing the deletion now and i do it that way: i query the index for the path of the files in the directory and compare the dates. But i have a Problem! I find out the files which have changed but i can not delete the documet from the index, i don't know why! In the Field "pathLC" is he