lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Kor <>
Subject Re: Index Question
Date Mon, 19 Dec 2005 01:53:11 GMT
On 12/19/05, <> 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:
For additional commands, e-mail:

View raw message