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 ha

Re: Lucene index inside of a web app?

2011-11-28 Thread okayndc
ide the app and it avoids complications with what the app server > considers the default directory. But if you want to store it inside, > without specifying full path, look at the docs for your app server. > > > -- > Ian. > > > On Sun, Nov 27, 2011 at 2:10 AM, okayndc

Re: Lucene index inside of a web app?

2011-11-28 Thread okayndc
gt; will interpret relative to something. Which is fine too - take your pick > of > > whatever works for you. > > > > > > -- > > Ian. > > > > > > On Mon, Nov 28, 2011 at 4:40 PM, okayndc wrote: > > > Hi, > > > > > > Thanks f

Re: Lucene index inside of a web app?

2011-12-02 Thread okayndc
p/Indexes ) to > the Web server Application via "web.xml" > > By this approach u can even achieve > > 1) Load balancing of multiple Web servers pointing to same Index files > 2) Update /Delete /Re-index with out the Web application being interrupted > > > > wit

HTML tags and Lucene highlighting

2012-04-05 Thread okayndc
Hello, I currently use Lucene version 3.0...probably need to upgrade to a more current version soon. The problem that I have is when I test search for a an HTML tag (ex. ), Lucene returns the highlighted HTML tag ~ which is what I DO NOT want. Is there a way to "filter" HTML tags? I have read up

Re: HTML tags and Lucene highlighting

2012-04-05 Thread okayndc
Hello, I want to ignore HTML tags within a search. ~ I should not be able to search for a HTML tag (ex. ) and get back the highlighted HTML tag (ex. ) in a result set. Thanks On Thu, Apr 5, 2012 at 3:24 PM, Steven A Rowe wrote: > Hi okayndc, > > What *do* you want?

Re: HTML tags and Lucene highlighting

2012-04-05 Thread okayndc
I want to retain the formatted HTML in a result but, want to ignore (or filter out) HTML tags in a search, if this makes sense? On Thu, Apr 5, 2012 at 3:44 PM, Steven A Rowe wrote: > okayndc, > > A field configured to use HTMLStripCharFilter as part of its index-time > analyzer wi