Tanya Levshina wrote: > Nope, doesn't work. > I've tried: > .... > ramWriter.addDocument(doc); > ramWriter.flush(); > ramWriter.close(); > fsWriter.addIndexes(new Directory[] {ramDir,}); > .... > > > Any other suggestions? >
Are you sure? That's strange, I just took your code and tried it out myself. With my suggested change it works fine for me now. I'm using Lucene 2.2 for this test. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]