/[Apache-SVN]
ViewVC logotype

Revision 628568


Jump to revision: Previous Next
Author: mharwood
Date: Sun Feb 17 22:32:58 2008 UTC (16 years, 8 months ago)
Changed paths: 5
Log Message:
Added thread-safety around use of core's QueryParser.
Old XML parser constructors use a mode which will synchronize on use of the user-supplied QueryParser. 
New constructors offer alternative option of passing "defaultField" String which is used to create a new single-use QueryParser for each parse operation.

Changed paths

Path Details
Directorylucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CoreParser.java modified , text changed
Directorylucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CorePlusExtensionsParser.java modified , text changed
Directorylucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/UserInputQueryBuilder.java modified , text changed
Directorylucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestParser.java modified , text changed
Directorylucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestQueryTemplateManager.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26