Re: Multiple searcher blocked threads

2010-10-06 Thread Yannis Pavlidis
I would recommend you use NIOFSDirectory. We had similar issues and after we switched to NIOFSDirectory these issues disappeared (dramatically reduced). Also if you are using filters what has really helped us is to use cached filters (CachingWrapperFilters). Hope that helps. Yannis. On Oct 6

PhraseQuery issues - differences with SpanNearQuery

2008-09-04 Thread Yannis Pavlidis
Hi, I am having an issue when using the PhraseQuery which is best illustrated with this example: I have created 2 documents to emulate URLs. One with a URL of: "http://www.airballoon.com"; and title "air balloon" and the second one with URL "http://www.balloonair.com"; and title: "balloon air".

RE: boost freshness instead of sorting

2008-08-29 Thread Yannis Pavlidis
Steven, Andrzej, Thanks for your suggestions. Turning off the norms did it and it has been working as I have initially expected. Regards, Yannis. -Original Message- From: Andrzej Bialecki [mailto:[EMAIL PROTECTED] Sent: Thu 8/28/2008 11:40 AM To: java-user@lucene.apache.org Subject:

RE: boost freshness instead of sorting

2008-08-28 Thread Yannis Pavlidis
[EMAIL PROTECTED] Sent: Thu 8/28/2008 10:27 AM To: java-user@lucene.apache.org Subject: RE: boost freshness instead of sorting Hi Yannis, On 08/28/2008 at 12:12 PM, Yannis Pavlidis wrote: > I am trying to boost the freshness of some of our documents > in the index using the most efficie

boost freshness instead of sorting

2008-08-28 Thread Yannis Pavlidis
Hi, I am trying to boost the freshness of some of our documents in the index using the most efficient way (i.e. if 2 news stories have the same score based on the content then I want to promote the one that was created last) I have tried several techniques which do not seems to be performing t