Rename but not reindex

2004-08-13 Thread Demetrio Zenti
I apologise if it's a stupid question... I index Document objects having 2 fields: - 1° representing file name. It's code is Field fieldPath = new Field(FIELD_FILENAME, filename, true, false, false); - 2° representing body of this file Field fieldSize = new Field(FIELD_CONTENT, filebody,

Re: Rename but not reindex

2004-08-13 Thread Otis Gospodnetic
No, just delete the Doc and re-add it. Otis --- Demetrio Zenti [EMAIL PROTECTED] wrote: I apologise if it's a stupid question... I index Document objects having 2 fields: - 1° representing file name. It's code is Field fieldPath = new Field(FIELD_FILENAME, filename, true, false,

Re: Rename but not reindex

2004-08-13 Thread Erik Hatcher
You have to re-index. Updating is not currently possible, at least not without really low-level hacks. Erik On Aug 13, 2004, at 8:23 AM, Demetrio Zenti wrote: I apologise if it's a stupid question... I index Document objects having 2 fields: - 1° representing file name. It's code is