Re: Lucene index inside of a web app?

2011-12-05 Thread KARTHIK SHIVAKUMAR
-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

Re: Lucene index inside of a web app?

2011-12-02 Thread okayndc
, 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

Re: Lucene index inside of a web app?

2011-12-01 Thread KARTHIK SHIVAKUMAR
] 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

Re: Lucene index inside of a web app?

2011-11-28 Thread Ian Lea
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

Re: Lucene index inside of a web app?

2011-11-28 Thread Ian Lea
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.

RE: Lucene index inside of a web app?

2011-11-28 Thread Uwe Schindler
] 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

Re: Lucene index inside of a web app?

2011-11-28 Thread okayndc
://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

Lucene index inside of a web app?

2011-11-26 Thread okayndc
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