-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
-Original Message-
From: Ian Lea [mailto:ian@gmail.com]
Sent: Monday, November 28, 2011 6:11 PM
To: java-user@lucene.apache.org
Subject: Re: Lucene index inside of a web app
, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
-Original Message-
From: Ian Lea [mailto:ian@gmail.com]
Sent: Monday, November 28, 2011 6:11 PM
To: java-user@lucene.apache.org
Subject: Re: Lucene index inside of a web app?
Using
]
Sent: Monday, November 28, 2011 6:11 PM
To: java-user@lucene.apache.org
Subject: Re: Lucene index inside of a web app?
Using a static string is fine - it just wasn't clear from your original
post what it
was.
I usually use a full path read from a properties file so that I can
What is LUCENE_INDEX_DIRECTORY? Some static string in your app?
Lucene knows nothing about your app, JSP, or what app server you are
using. It requires a file system path and it is up to you to provide
that. I always use a full path since I prefer to store indexes
outside the app and it avoids
Using a static string is fine - it just wasn't clear from your
original post what it was.
I usually use a full path read from a properties file so that I can
change it without a recompile, have different settings on
test/live/whatever systems, etc. Works for me, but isn't the only way
to do it.
]
Sent: Monday, November 28, 2011 6:11 PM
To: java-user@lucene.apache.org
Subject: Re: Lucene index inside of a web app?
Using a static string is fine - it just wasn't clear from your original
post what it
was.
I usually use a full path read from a properties file so that I can change
://www.thetaphi.de
eMail: u...@thetaphi.de
-Original Message-
From: Ian Lea [mailto:ian@gmail.com]
Sent: Monday, November 28, 2011 6:11 PM
To: java-user@lucene.apache.org
Subject: Re: Lucene index inside of a web app?
Using a static string is fine - it just wasn't clear from your
Hello,
I want to store the generated Lucene index inside of my Java application,
preferably within a folder where my JSP files are located. I also want to
be able to search from the index within the web app. I've been using the
LUCENE_INDEX_DIRECTORY but, this is on a file system (currently my