the source code of IndexReader and found that the method
> close() is final not static. so I tried to change it to static, but
> got even more errors.
>
> I am wondering how do you use lucene? Has anyone met with the same thing?
>
> Thanks a lot.
>
> Ivy.
>
>
>
This isn't a Tomcat specific problem, but sounds like a problem with
how you the reader is being used.
Somewhere in the JSP a IndexReader variable was probably assigned to.
A line something like:
IndexReader ir = IndexReader.open("somepath");
To close the reader, and thus solve the problem, some
Why oh why did you send this to the tomcat lists?
Don't cross post! Especially when the question doesn't even apply to
one of the lists.
Patrick
On Tue, 7 Sep 2004 16:35:35 -0400, hui liu <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have such a problem when creating lucene index for many html files:
On Tue, 17 Aug 2004 13:17:10 -0400 (EDT), Stephane James Vaucher
>
> Actually, I use a IndexWriter in overwrite mode on the master dir and
> merge the temp dir. This cleans up the old master.
>
I'm a bit of a Lucene newbie here, and I am trying to understand what
you mean by "merge the temp dir
Forward back to list.
-- Forwarded message --
From: Patrick Burleson <[EMAIL PROTECTED]>
Date: Tue, 17 Aug 2004 11:30:19 -0400
Subject: Re: Swapping Indexes?
To: Stephane James Vaucher <[EMAIL PROTECTED]>
Stephane,
Thank you for the ideas. I'm going about imp
I believe that is correct. So, the word "new" is never being indexed
since it is a stop word.
Patrick
On Tue, 17 Aug 2004 20:26:19 +0530, Karthik N S
<[EMAIL PROTECTED]> wrote:
> Hi Guys
>
> Apologies..
>
>Correct me If I am wrong...
>
>During Indexing process, if the Analyzer has
Hmm, while I agree that UltraEdit is the best on Windows, since they
were using KHexEdit, I doubt it's an option for them on Linux
(although I do know it runs fine under Wine).
Patrick
On Tue, 17 Aug 2004 10:39:27 -0400, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> http://www.ultraedit.com/ is
Karthik,
What you would want to do with the split tokens ( "New" and "Year" )
is then create a PhraseQuery containing a Term object for each token.
This should do what you want. As Erik said, QueryParser would have
done this internally, only if you actually sent in the quotes...not
just "New Year"
Pardon the reply to self, but it would appear looking at the source of
SnowballAnalyzer.java, that it is thread-safe as it uses all locally
defined variables for the tokenStream() method. Or am I missing
something?
Thanks,
Patrick
On Mon, 16 Aug 2004 17:45:48 -0400, Patrick Burleson
<[EM
I don't know if this is the appropriate place to ask this, but does
anyone know if the Snowball Analyzers (or analyzers in general) are
thread-safe? Or should I create a new one every time I need to
tokenize a String?
Thanks,
Patrick
---
I've read in the docs about updating an index and its suggestion
reguarding swapping out indexes with a directory rename.
Here's my question, how to do this when searches are running live?
Say I have a directory that holds the current valid index:
C:\myindex
and when I'm running my nightly pr
Thanks very much for all of the replies. I have gone for the "ALL"
field trick. Works very well for me.
Patrick
On Fri, 13 Aug 2004 21:02:49 -0400, Erik Hatcher
<[EMAIL PROTECTED]> wrote:
>
> On Aug 13, 2004, at 4:01 PM, [EMAIL PROTECTED] wrote:
> > A ranged query that covers the full range does
inly worked for me and
> was quite easy to incorporate. And, it appears to order the documents by the order
> in which they were indexed.
>
> T
>
> p.s. You can probably do something using IndexReader directly... but the nice thing
> about this approach is that you are sti
Is there a way for lucene to find all documents? Say if I have a
search input and someone puts nothing in I want to go ahead and
return everything. Passing "*" to QueryParser was not pretty.
Thanks,
Patrick
-
To unsubscribe, e-m
Erik
>
>
>
> On Aug 11, 2004, at 2:30 PM, Patrick Burleson wrote:
>
> > I would like to build a search that takes a string and parses it, then
> > uses that string to search all fields available in the index. Is that
> > possible without building up a huge b
I would like to build a search that takes a string and parses it, then
uses that string to search all fields available in the index. Is that
possible without building up a huge boolean query of all my fields? I
may not know the field names at runtime.
Thanks,
Patrick
-
16 matches
Mail list logo