lucene/contrib
Mark Harwood 37a060c15c Additional thread safety around filter creation - old code could create duplicate CachingWrapperFilter if thread1 gets cache miss and thread 2 has a cache miss before thread1 populates cache with new CachingWrapperFilter.
Synchronization cost around whole method is OK here because Filter object construction should be a lightweight call. 
Note: CachingWrapperFilter currently has a similar bug in bits() method but adding "synchronized" around that whole method would not be a solution there because of the cost of evaluating filter.bits and the unnecessary blocking effect this would have on threads using different readers to the thread with the lock.

 

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@628921 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 23:39:12 +00:00
..
analyzers LUCENE-494: Added QueryAutoStopWordAnalyzer in a new query subpackage 2008-02-07 14:13:38 +00:00
ant LUCENE-1084: fix the remaining deprecated calls to IndexWriter ctors 2008-02-05 20:07:29 +00:00
benchmark benchmark autocommit 2008-02-07 15:33:02 +00:00
db LUCENE-1051: Generate separate javadocs for core, demo and contrib classes, as well as an unified view. 2007-11-14 19:16:19 +00:00
highlighter LUCENE-1132: Updated documentation and deprecated bytes references in favor of character references 2008-01-29 13:35:13 +00:00
javascript LUCENE-931: adding missing license headers to various files 2007-06-09 06:09:46 +00:00
lucli - LUCENE-908: Improvements and simplifications for how the MANIFEST file and the META-INF dir are created. 2007-08-22 23:16:48 +00:00
memory LUCENE-1084: fix more test cases to use user-defined MaxFieldLength ctor for IndexWriter 2008-02-07 21:07:35 +00:00
miscellaneous LUCENE-584: Changed Filter API to return a DocIdSet instead of a java.util.BitSet. This allows using more efficient data structures for Filters and makes them more flexible. 2008-02-02 19:04:03 +00:00
queries Rename README files to uppercase letters 2008-01-10 22:38:38 +00:00
regex Correct javadoc 2008-02-04 13:31:02 +00:00
similarity LUCENE-1051: Generate separate javadocs for core, demo and contrib classes, as well as an unified view. 2007-11-14 19:16:19 +00:00
snowball - LUCENE-908: Improvements and simplifications for how the MANIFEST file and the META-INF dir are created. 2007-08-22 23:16:48 +00:00
spellchecker LUCENE-1050 and LUCENE-1138 fixes for lock problem 2008-01-17 17:00:43 +00:00
surround LUCENE-1084: change all IW ctors to require up-front specification of max field length; deprecated existing ones 2008-01-25 10:21:15 +00:00
swing LUCENE-1084: change all IW ctors to require up-front specification of max field length; deprecated existing ones 2008-01-25 10:21:15 +00:00
wikipedia LUCENE-1150: make StandardAnalyzer tokenizer constants public again (public access was accidentally removed with LUCENE-966) 2008-01-29 10:51:44 +00:00
wordnet LUCENE-1084: change all IW ctors to require up-front specification of max field length; deprecated existing ones 2008-01-25 10:21:15 +00:00
xml-query-parser Additional thread safety around filter creation - old code could create duplicate CachingWrapperFilter if thread1 gets cache miss and thread 2 has a cache miss before thread1 populates cache with new CachingWrapperFilter. 2008-02-18 23:39:12 +00:00
contrib-build.xml LUCENE-1153: added lib/junit and build support 2008-01-25 20:27:55 +00:00