RE: memory leek in lucene?

2004-09-03 Thread iouli . golovatyi
Terence, still had not not time to prepare a test case, but... I worked around it: The idea is to replace the score with timestamp on populating hits (in case You are not interesting too much in real score), where the field_sort is in MMddHHmm etc. format. Works fine, at least no

Concatinated search string in not working!

2004-09-03 Thread iouli . golovatyi
Trying to search by two fields I got nothing. The fields where created like: String provider = doc.add(Field.Keyword(provider, provider)); ... InputStreamReader input = new InputStreamReader( new ByteArrayInputStream( contents ) ); document.add(Field.Text(contents, input )); Searching

Re: Concatinated search string in not working!

2004-09-03 Thread Erik Hatcher
The Keyword-ness of a field is only at indexing time, and not something known about at query time. You need to use a different analyzer for that field. Check out posts on KeywordAnalyzer and PerFieldAnalyzerWrapper - this combination is the secret :) Erik On Sep 3, 2004, at 9:55 AM,

Patch for IndexWriter.close which prevents NPE...

2004-09-03 Thread Kevin A. Burton
I just attached a patch which: 1. prevents multiple close() of an IndexWriter 2. prevents an NPE if the writeLock was null. We have been noticing this from time to time and I haven't been able to come up with a hard test case. This is just a bit of defensive programming to prevent it from

Build problems

2004-09-03 Thread dhatcher
I'm trying to build Lucene with ant (in XP) from the prompt I got the ant-optional.jar from http://archive.apache.org/dist/ant/binaries/ because I couldn't find it anywhere else. I'm running the newest version of ant and when I go into the lucene base directory and type 'ant' it finds the

Re: Build problems

2004-09-03 Thread Paul Elschot
Danny, On Friday 03 September 2004 20:53, [EMAIL PROTECTED] wrote: I'm trying to build Lucene with ant (in XP) from the prompt I got the ant-optional.jar from http://archive.apache.org/dist/ant/binaries/ because I couldn't find it anywhere else. I'm running the newest version of ant and

about search sorting

2004-09-03 Thread Wermus Fernando
Luceners, My app is creating, updating and deleting from the index and searching too. I need some information about sorting by a field. Does any one could send me a link related to sorting? Thanks in advance.

Re: about search sorting

2004-09-03 Thread David Spencer
Wermus Fernando wrote: Luceners, My app is creating, updating and deleting from the index and searching too. I need some information about sorting by a field. Does any one could send me a link related to sorting? http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/Sort.html

Re: memory leek in lucene?

2004-09-03 Thread [EMAIL PROTECTED]
I also have problems regarding my application, what would be the ideal memory allocation for lucene considering my application will serve at least 20 transactions per second? tia --buics On Fri, 3 Sep 2004 15:20:45 +0200, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Terence, still had not