Check this article out.
http://www-106.ibm.com/developerworks/library/j-lucene/
Simon
- Original Message -
From: "Sumathi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 05, 2004 2:02 PM
Subject: XML Indexing
Can any one give me a demo for indexing XML files ?
so add a setter for each variable if
you
> want the ability to set the value separately from the class init.
>
> In the FSDirectory class, the variables DISABLE_LOCKS and LOCK_DIR are
> marked final, which I had to remove to do the initialization as described.
>
> I've also attac
or put them all
into
> a single static block. You could also add a setter for each variable if
you
> want the ability to set the value separately from the class init.
>
> In the FSDirectory class, the variables DISABLE_LOCKS and LOCK_DIR are
> marked final, which I had to remove to do the
applet. Is this correct and if so can someone show me one of the
hacked files so that I know what I need to modify.
Many Thanks
Simon
.
- Original Message -----
From: "Simon mcIlwaine" <[EMAIL PROTECTED]>
To: "Lucene Users List" <[EMAIL PROTECTED]>
Sent: Monday, A
y Directory hack:
>
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg05148.html
>
> HTH,
> sv
>
> On Mon, 23 Aug 2004, Simon mcIlwaine wrote:
>
> > Thanks Jon that works by putting the jar file in the archive attribute.
Now
> > im getting the disablelock error cau
>
> Also, to get Lucene to work from an unsigned applet, I had to modify a
> few classes that call System.getProperty(), because the properties that
> were being requested were disallowed for applets. I think the classes
> were IndexWriter, FSDirectory, and BooleanQuery.
>
> --Jo
can disable the locking stuff just for purposes
like yours (read-only index).
Regards,
Terry
- Original Message -
From: Simon mcIlwaine
To: Lucene Users List
Sent: Wednesday, August 18, 2004 11:03 AM
Subject: Lucene Search Applet
Im developing a Lucene CD-ROM based sea
Im developing a Lucene CD-ROM based search which will search html pages on CD-ROM,
using an applet as the UI. I know that theres a problem with lock files and also
security restrictions on applets so I am using the RAMDirectory. I have it working in
a Swing application however when I put it into