RE: Lucene 3.0 Search Performance Stats

2010-03-20 Thread Uwe Schindler
Hi Jamie, thanks for reporting back the numbers about your usage of NumericField and NumericRangeQuery! I am glad to hear about it. > Sure. As soon as I get access to the server again, I'll get the mem > stats for you. I will say that Lucene was consuming a large amount of > memory before we mov

Re: Trying to simplify MappingCharFilter to match whole field

2010-03-20 Thread Koji Sekiguchi
Paul Taylor wrote: I'm trying to create a CharFilter which works like MappingCharFilter but only changes the matchString if the match String matches the whole field rather than a portion in the field (this is to handle some exceptions wiyout effecting other data). Trouble is the code in Mappin

can I have such a phrasequery?

2010-03-20 Thread luocanrao
Can I have suche a phrasequery. Exact match document add some score All other match document add 0 score. But all the documents that have the terms are valid. For example: Document 1: little boy is running Document 2:boy is little, I query little boy, Document 1 add score 100(Exact match) Documen

Re: incorrect hits when using multiple threads

2010-03-20 Thread Simon Willnauer
YW On Sat, Mar 20, 2010 at 1:22 PM, Ruben Laguna wrote: > Right! > Obviously I didn't get the Collector right. I replaced it with > AllDocCollector from the Lucene in Action 2Ed book and it works as > expected. > Thanks for point me in the right direction. > > On Sat, Mar 20, 2010 at 12:44 PM, Si

Re: incorrect hits when using multiple threads

2010-03-20 Thread Ruben Laguna
Right! Obviously I didn't get the Collector right. I replaced it with AllDocCollector from the Lucene in Action 2Ed book and it works as expected. Thanks for point me in the right direction. On Sat, Mar 20, 2010 at 12:44 PM, Simon Willnauer < simon.willna...@googlemail.com> wrote: > On Sat, Mar

Re: incorrect hits when using multiple threads

2010-03-20 Thread Simon Willnauer
On Sat, Mar 20, 2010 at 11:52 AM, Ruben Laguna wrote: > Hi, > I'm getting incorrect results from IndexSearcher, hopefully somebody can > give me a hand. > > I have a single IndexWriter instance shared by several threads that invoke > addDocument on the IW. I also have another thread that invokes c

incorrect hits when using multiple threads

2010-03-20 Thread Ruben Laguna
Hi, I'm getting incorrect results from IndexSearcher, hopefully somebody can give me a hand. I have a single IndexWriter instance shared by several threads that invoke addDocument on the IW. I also have another thread that invokes commit() periodically (every 10s). Then I have another thread that

Re: Lucene 3.0 Search Performance Stats

2010-03-20 Thread Jamie
Hi Monique Sure. As soon as I get access to the server again, I'll get the mem stats for you. I will say that Lucene was consuming a large amount of memory before we moved over to using Numerics. The reason for this is that we were encoding dates as strings. Our date time strings were unique,

Trying to simplify MappingCharFilter to match whole field

2010-03-20 Thread Paul Taylor
I'm trying to create a CharFilter which works like MappingCharFilter but only changes the matchString if the match String matches the whole field rather than a portion in the field (this is to handle some exceptions wiyout effecting other data). Trouble is the code in MappingCharFilter is devoi