Follow the instruction here:
http://lucene.apache.org/core/discussion.html

-- Jack Krupansky

-----Original Message----- From: Noopur Julka
Sent: Monday, September 10, 2012 12:43 PM
To: java-user@lucene.apache.org
Cc: Dhananjeyan Balaretnaraja
Subject: Re: How to create a Lucene in-memory index at webapp deployment time

unsuscribe me pls

Regards,
Noopur Julka



On Fri, Sep 7, 2012 at 10:40 AM, Kasun Perera <kas...@opensource.lk> wrote:

I have a web java/jsp application running on Apache Tomcat server. In this
web application I have used lucene, to index and calculate similrarity
between some PDF documents(PDF documents are in the database). My live
server dosent allow web-app to access files, so I have created the
in-memory lucene index using RAMDirectory class.

In the current way that I have coded in my application, when for each time
user access the lucene involved functionality, it creates a new in-memory
index.

Is there any way to create the in-memory index at the webapp deployment
time, so that in-memory index will be created only once and I can access
in-memory index as long as web app is live?

--
Regards

Kasun Perera



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to