How do you do it using Kawa? I am not familar with command line operations.
Thanks
On 14/03/06, Joe Scanlon <[EMAIL PROTECTED]> wrote:
> you need to specify it from the command line
>
> ie, java org.apache.lucene.demo.IndexFile 'type in your starting directory
> here'
>
>
> On 3/14/06, Miki Sun <
you need to specify it from the command line
ie, java org.apache.lucene.demo.IndexFile 'type in your starting directory
here'
On 3/14/06, Miki Sun <[EMAIL PROTECTED]> wrote:
>
> I think I did. I modified these code:
>
> //creat a directory to write the indices to
> static final File INDEX_DIR =
I think I did. I modified these code:
//creat a directory to write the indices to
static final File INDEX_DIR = new File(File.separator + "Bible_index");
//specify the directory to be indexed
final File docDir = new File(File.separator + "Bible/1/");
Whereever else should I change?
Thanks a lot
It looks like you are not specifying the directory you want to index.
Otis
- Original Message
From: Miki Sun <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Tuesday, March 14, 2006 11:27:04 AM
Subject: IndexFiles.java
Hiya
I am a beginner of Lucene. I try to use IndexFiles.ja