Please try using the JDK from Sun. I believe this is the issue you're having with Ant and compiling Lucene.

        Erik


On Dec 18, 2005, at 9:07 PM, [EMAIL PROTECTED] wrote:

Thanks for the reply. I thought of doing it. I downloaded the latest
source and tried to build it using ant. I am new to using 'ant'. It gives me an error and I think the problem is with 'rmic'. I never came across
this before either. It says -

BUILD FAILED
/projects/keyconcept/praveen/lucene-1.4.3/build.xml:145: Rmic failed; see
the compiler error output for details.

I am also attaching the output from ant. Is it a problem with the
installation of rmic or java or ant or am I doing something wrong?

I dont know if this is the right place to ask this, but any help will be
greatly appreciated.

Thanks,

Praveen.


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]


<ant_op.txt>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to