Author: tommaso Date: Mon Feb 28 12:27:01 2011 New Revision: 1075312 URL: http://svn.apache.org/viewvc?rev=1075312&view=rev Log: [UIMA-2061] - autocommit configuration parameter in descriptor must be of type Boolean
Modified: uima/sandbox/trunk/Solrcas/desc/SolrcasAE.xml uima/sandbox/trunk/Solrcas/src/test/resources/TestSolrcasAE.xml Modified: uima/sandbox/trunk/Solrcas/desc/SolrcasAE.xml URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/Solrcas/desc/SolrcasAE.xml?rev=1075312&r1=1075311&r2=1075312&view=diff ============================================================================== --- uima/sandbox/trunk/Solrcas/desc/SolrcasAE.xml (original) +++ uima/sandbox/trunk/Solrcas/desc/SolrcasAE.xml Mon Feb 28 12:27:01 2011 @@ -54,7 +54,7 @@ <configurationParameter> <name>autoCommit</name> <description>true if Solr autocommit is enabled</description> - <type>String</type> + <type>Boolean</type> <multiValued>false</multiValued> <mandatory>true</mandatory> </configurationParameter> @@ -81,7 +81,7 @@ <nameValuePair> <name>autoCommit</name> <value> - <string>false</string> + <boolean>false</boolean> </value> </nameValuePair> </configurationParameterSettings> Modified: uima/sandbox/trunk/Solrcas/src/test/resources/TestSolrcasAE.xml URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/Solrcas/src/test/resources/TestSolrcasAE.xml?rev=1075312&r1=1075311&r2=1075312&view=diff ============================================================================== --- uima/sandbox/trunk/Solrcas/src/test/resources/TestSolrcasAE.xml (original) +++ uima/sandbox/trunk/Solrcas/src/test/resources/TestSolrcasAE.xml Mon Feb 28 12:27:01 2011 @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> - <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file @@ -18,10 +17,9 @@ specific language governing permissions and limitations under the License. --> - <analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier"> - <primitive>true</primitive> <frameworkImplementation>org.apache.uima.java</frameworkImplementation> + <primitive>true</primitive> <annotatorImplementationName>org.apache.uima.solrcas.EmbeddedSolrCASConsumer</annotatorImplementationName> <processingResourceMetaData> <name>SolrcasAE</name> @@ -54,7 +52,7 @@ <configurationParameter> <name>autoCommit</name> <description>true if Solr autocommit is enabled</description> - <type>String</type> + <type>Boolean</type> <multiValued>false</multiValued> <mandatory>true</mandatory> </configurationParameter> @@ -81,7 +79,7 @@ <nameValuePair> <name>autoCommit</name> <value> - <string>false</string> + <boolean>false</boolean> </value> </nameValuePair> </configurationParameterSettings>