changes between lucene versions.
Many thanks again for your time,
Kieran
Michael McCandless wrote:
This is an interesting challenge! Responses below...
Kieran Topping wrote:
Hello,
I would like to be able to instantiate a RAMDirectory from a
directory that an IndexWriter in another proc
ly?
Or, indeed, whether there might be another way of instantiating a
RAMDirectory from a directory which might currently be being modified by
an IndexWriter?
Many thanks in advance,
Kieran Topping
-
To unsubscribe, e-mail: java-u
ons, but I don't think it's crucial.
If you want any more details, you're welcome to email me either on or
off-list.
Kieran
[EMAIL PROTECTED] wrote:
Thanks Kieran,
Yep iv seen this patch before but our organisation has grave concerns
putting it into a production environment as it
Hello Adrena,
You might want to consult the following thread:
http://issues.apache.org/jira/browse/LUCENE-436
The issue /might/ be to do with your JVM's implementation of ThreadLocal.
The above discussion contains a fix/workaround for this issue.
Kieran
[EMAIL PROTECTED] wrote:
W
It may well be to do with this Hotspot bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6407471
Note, the bug only appears when you invoke java with the "-server"
command line option.
Kieran
Dan Armbrust wrote:
Ross Rankin wrote:
We keep getting JVM crashes on 1.4.3.
Sorry, that should have read:
Query query1 = null;
if(cat!=""){
Term term = new Term("parentPath",cat);
query1 = new TermQuery(term);
Hits hits = is.search(query1);
}
("parentPath" substituted for "category").
kieran wrote:
Alternatively, you could
ery1);
}
NB as an aside, unless "cat" is interned, (cat!="") will ALWAYS return
true. But you probably knew that ;-)
Kieran
Java Programmer wrote:
Reply to myself hate this :(
What about such solution:
Split path like string into smaller tokens and index them as seperate wo
I've devised a simple patch which, from my observations on linux
JVMs 1.4.2_06, and 1.5.0_03, fixes this problem.
I've thought of submitting this to the project as a patch, but the
lucene bugzilla account is disabled at the moment so...see the diff,
below, and the attached, patched, f