Re: No.of Files in Directory

2005-06-30 Thread jian chen
Hi, My second suggestion is basically to store the user documents (word docs) directly in lucene index. 1) If you are using Lucene 1.4.3, you can do something like this: // suppose the word docs are now in byte array byte[] wordDoc = getUploadedWordDoc(); // add the byte array to lucene index D

Re: No.of Files in Directory

2005-06-30 Thread Erik Hatcher
On Jun 30, 2005, at 2:23 AM, Karthik N S wrote: With my Experience of Lucene since 2004,I can say that u need to update the Index Once in a day (rather then doing it for every upload),But if u'r requirement say's u have to make the Doc avaliable on the run then u may do so. Karthik -

Re: No.of Files in Directory

2005-06-29 Thread bib_lucene bib
Thanks Jian I need to retrive the original document sometimes. I did not quite understand your second suggestion. Can you please help me understand better, a pointer to some web resource will also help. jian chen <[EMAIL PROTECTED]> wrote: Hi, Depending on the operating system, there might be

RE: No.of Files in Directory

2005-06-29 Thread Karthik N S
Hi Apologies. With my Experience of Lucene since 2004,I can say that u need to update the Index Once in a day (rather then doing it for every upload),But if u'r requirement say's u have to make the Doc avaliable on the run then u may do so. with regards Karthik -Original Message

Re: No.of Files in Directory

2005-06-29 Thread jian chen
Hi, Depending on the operating system, there might be a hard limit on the number of files in one directory (windoze versions). Even with operating systems that don't have a hard limit, it is still better not to put too many files in one directory (linux). Typically, the file system won't be very