Re: document retrieval 100 times slower after finishing some heavy disk operation

2008-06-28 Thread Daniel Naber
On Sonntag, 29. Juni 2008, qaz zaq wrote: > I have 2 FSDirectory indexes each with size about 500M. I have 2 > parallel search threads fetching 200 documents from these 2 > indexes which usually take less then 16ms. Fetching documents means that per document about 2 disk seeks are needed to acce

Re: document retrieval 100 times slower after finishing some heavy disk operation

2008-06-28 Thread qaz zaq
thanks for your quick reply!   The copy operation is not related to JAVA. I use Windows (2003 Enterprise)  copy command. The problem persists even 5 hours after the copy is done (it should not take so long for OS to write a 1G file from system cache to disk. right?).  The only way to resolve thi

Re: document retrieval 100 times slower after finishing some heavy disk operation

2008-06-28 Thread Daniel Naber
On Sonntag, 29. Juni 2008, qaz zaq wrote: > indexes which usually take less then 16ms. However, everytime afer some > heavy disk operations (such as copy 1G size of a file into that disk) , > the document retrieval slows down to couple seconds immediately, > even well after this disk operation bei

document retrieval 100 times slower after finishing some heavy disk operation

2008-06-28 Thread qaz zaq
Hi,   I ran into a very strange situation regarding document retrieval slowness and want to get some advice urgently.   I have 2 FSDirectory indexes each with size about 500M. I have 2 parallel search threads fetching 200 documents from these 2 indexes which usually take less then 16ms. However,

Re: Getting irrelevant results using fuzzy query

2008-06-28 Thread László Monda
On Mon, 2008-06-23 at 12:52 +, mark harwood wrote: > >>Could you tell me what's wrong here, please? > > There are potentially a number of factors at play here. > > Your use of FuzzyLikeThis is fine - just tried the code on my single-term > "Paul" query and as I outlined before it is doing a

Re: Does Lucene Java 2.3.2 supports parsing of Microsoft office 2007 documents...

2008-06-28 Thread Nick Burch
On Fri, 27 Jun 2008, Hasan Diwan wrote: The new ODF-compatible Office 2007 is not supported by POI. Actually, it is, just not the version in trunk. You can download nightly builds of the ooxml branch from http://encore.torchbox.com/poi-svn-build/OOXML-Branch/ And there ought to be a

Re: how to statistics categories amount

2008-06-28 Thread Erik Hatcher
On Jun 28, 2008, at 3:57 AM, lutan wrote: if I search a keyword likes 'computer' in a shopping website. the result may contains. total: (1000) products . categories: pc(500) products . notebook (300) products . server(200) products . so how do get each categories 'amount.

how to statistics categories amount

2008-06-28 Thread lutan
if I search a keyword likes 'computer' in a shopping website. the result may contains. total: (1000) products . categories: pc(500) products . notebook (300) products . server(200) products . so how do get each categories 'amount. I try to search many times on onec user