On 12/19/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I know that lucene index takes a directory of files to be indexed and > builds the index. Now is there a way to specify the number of files from > the directory to be indexed? > > I mean if I have a directory of 10,000 files and I want an index of only > 2000 files from these 10k files, how can specify the limit? >
Lucene is only a search engine library. This means you can customize Lucene to behave exactly how you want it to behave. For your issue, I guess the fastest way is to modify the Lucene demo program to only read 2000 files instead of every single file in the directory. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]