RE: Please Help solve problem of bad read performance in lucene 4.2.1

2013-07-08 Thread Uwe Schindler
-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de -Original Message- From: Chris Zhang [mailto:zhangjcm...@gmail.com] Sent: Sunday, July 07, 2013 6:26 PM To: java-user@lucene.apache.org Subject: Re: Please Help solve problem of bad read performance in lucene 4.2.1 thianks

Please Help solve problem of bad read performance in lucene 4.2.1

2013-07-07 Thread Chris Zhang
hi , Sorry to interrupt you, but I am really confused by the bad performance of lucene 4.2.1. Recently I migrated project from lucene 3.0 to 4.2.1 . After simply tests I found that both indexing and reading performance of lucene 4 can not match the older version. Indexing code snippets are as

Re: Please Help solve problem of bad read performance in lucene 4.2.1

2013-07-07 Thread Adrien Grand
Indeed, Lucene 4.1+ may be a bit slower for indices that comptelely fit in your file-system cache. On the other hand, you should see better performance with indices which are larger than the amount of physical memory of your machine. Your reading benchmark only measures IndexReader.get(int) which

Re: Please Help solve problem of bad read performance in lucene 4.2.1

2013-07-07 Thread Chris Zhang
thianks Adrien, In my project, almost all hit docs are supposed to be fetched for every query, what's why I am upset by the poor reading performance. Maybe I should store field values which are expected to be stored in high performance storage engine. In the above test case, time consuming of

Re: Please Help solve problem of bad read performance in lucene 4.2.1

2013-07-07 Thread Jack Krupansky
: Sunday, July 07, 2013 12:26 PM To: java-user@lucene.apache.org Subject: Re: Please Help solve problem of bad read performance in lucene 4.2.1 thianks Adrien, In my project, almost all hit docs are supposed to be fetched for every query, what's why I am upset by the poor reading performance

Re: Please Help solve problem of bad read performance in lucene 4.2.1

2013-07-07 Thread Chris Zhang
vs. 3.x? That's the true, proper measure of Lucene and Solr performance. -- Jack Krupansky -Original Message- From: Chris Zhang Sent: Sunday, July 07, 2013 12:26 PM To: java-user@lucene.apache.org Subject: Re: Please Help solve problem of bad read performance in lucene 4.2.1

Re: Please Help solve problem of bad read performance in lucene 4.2.1

2013-07-07 Thread Savia Beson
solve problem of bad read performance in lucene 4.2.1 thianks Adrien, In my project, almost all hit docs are supposed to be fetched for every query, what's why I am upset by the poor reading performance. Maybe I should store field values which are expected to be stored in high performance