2.9 NRT w.r.t. sorting and field cache

2009-09-21 Thread John Wang
Looking at the code, seems there is a disconnect between how/when field cache is loaded when IndexWriter.getReader() is called. Is FieldCache updated? Otherwise, are we reloading FieldCache for each reader instance? Seems for operations that lazy loads field cache, e.g. sorting, this has a signif

Filtering query results based on relevance/acuracy

2009-09-21 Thread Alex
Hi, I'm, a total newbie with lucene and trying to understand how to achieve my (complicated) goals. So what I'm doing is yet totally experimental for me but is probably extremely trivial for the experts in this list :) I use lucene and Hibernate Search to index locations by their name, type, etc

Memory consumed by IndexSearcher

2009-09-21 Thread Mindaugas Žakšauskas
Hi, I was wondering what would be sensible amount of memory IndexSearcher can consume? In my application we do retain reference to it for quicker searches; however I have become a bit worried for it being a memory hog. We are using Lucene 2.4.0 on 8 CPU Linux SMP box; JVM is Sun's 1.6.0_14 64-Bit

RE: New "Stream closed" exception with Java 6 - solved

2009-09-21 Thread Chris Bamford
Understood. Thanks Hoss. - Chris - Original Message - From: Chris Hostetter Sent: Fri, 18/9/2009 5:58pm To: java-user@lucene.apache.org Subject: RE: New "Stream closed" exception with Java 6 - solved : > not really ... adding a document multiple times is a perfectly legal use : > ca