Re: svn commit: r424449 - /lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java

2006-07-22 Thread Daniel Naber
On Samstag 22 Juli 2006 07:58, Chris Hostetter wrote: > however i'm not sure if the > performance benefits of the static instances Daniel mentioned in his > commit will exist in a multithreaded app (the synchronization costs may > outway the instantiation costs) I created a micro benchmark with 2

Re: svn commit: r424449 - /lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java

2006-07-22 Thread Simon Willnauer
Creating SimpleDateFormat instances are very expensive as Daniel already said. I had similar issues with SDF in JSP pages formatting lots a date strings. Using a simple stack or kind of pool reusing the SDF instances turned out in a reasonable performance gain. That would also solve the doubt abou

Re: svn commit: r424449 - /lucene/java/trunk/src/java/org/apache/lucene/document/DateTools.java

2006-07-22 Thread Yonik Seeley
Uncontended locking in recent JVMs is relatively cheap... it had to be made cheap given how much synchronization (much of it unneeded) goes on in Java's standard libs. As long as the synchronized operation is relatively quick and relatively infrequent, there shouldn't be much contention and hence

Good Tutorial

2006-07-22 Thread Feris Thia
Hi All, Is there any good tutorial on using Apache Lucene ? Regards, Feris

[jira] Updated: (LUCENE-550) InstanciatedIndex - faster but memory consuming index

2006-07-22 Thread Karl Wettin (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-550?page=all ] Karl Wettin updated LUCENE-550: --- Attachment: lucene2-karl_20060722.tar.gz New code. More backwards compatible. Just a very few changes required to the Lucene core. Now with test cases from dis

Re: Good Tutorial

2006-07-22 Thread Chris Hostetter
: Is there any good tutorial on using Apache Lucene ? : : Regards, 1) questions about using the lucene luibrary are best addressed on the java-user list (java-dev is for discussion of changes to the lucene library) 2) take a look at... http://lucene.apache.org/java/docs/gettingstarted.html ...th