You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2011/09/26 13:00:16 UTC

svn commit: r1175791 - /incubator/opennlp/sandbox/wikinews-importer/samples/LuceneIndexer.xml

Author: joern
Date: Mon Sep 26 11:00:16 2011
New Revision: 1175791

URL: http://svn.apache.org/viewvc?rev=1175791&view=rev
Log:
OPENNLP-299 Added index mapping file.

Added:
    incubator/opennlp/sandbox/wikinews-importer/samples/LuceneIndexer.xml   (with props)

Added: incubator/opennlp/sandbox/wikinews-importer/samples/LuceneIndexer.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/sandbox/wikinews-importer/samples/LuceneIndexer.xml?rev=1175791&view=auto
==============================================================================
--- incubator/opennlp/sandbox/wikinews-importer/samples/LuceneIndexer.xml (added)
+++ incubator/opennlp/sandbox/wikinews-importer/samples/LuceneIndexer.xml Mon Sep 26 11:00:16 2011
@@ -0,0 +1,84 @@
+<?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
+   distributed with this work for additional information
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   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>
+  <annotatorImplementationName>org.apache.opennlp.corpus_server.search.LuceneIndexer</annotatorImplementationName>
+  <processingResourceMetaData>
+    <name>LuceneIndexer</name>
+    <description/>
+    <version>0.6</version>
+    <vendor>apache</vendor>
+    <configurationParameters>
+      <configurationParameter>
+        <name>mappingFile</name>
+        <description>path to the mapping file</description>
+        <type>String</type>
+        <multiValued>false</multiValued>
+        <mandatory>true</mandatory>
+      </configurationParameter>
+    </configurationParameters>
+    <configurationParameterSettings>
+      <nameValuePair>
+        <name>mappingFile</name>
+        <value>
+          <string>file-will-be-set-by-ae-integration</string>
+        </value>
+      </nameValuePair>
+    </configurationParameterSettings>
+    <typeSystemDescription/>
+    <typePriorities/>
+    <fsIndexCollection/>
+    <capabilities>
+      <capability>
+        <inputs/>
+        <outputs/>
+        <languagesSupported/>
+      </capability>
+    </capabilities>
+    <operationalProperties>
+      <modifiesCas>false</modifiesCas>
+      <multipleDeploymentAllowed>true</multipleDeploymentAllowed>
+      <outputsNewCASes>false</outputsNewCASes>
+    </operationalProperties>
+  </processingResourceMetaData>
+  
+  <resourceManagerConfiguration>
+    <externalResources>
+      <externalResource>
+        <name>LucasIndexWriterProvider</name>
+        <description>Provides a index writer instance.</description>
+        <fileResourceSpecifier>
+          <fileUrl>file:src/test/resources/IndexWriter.properties</fileUrl>
+        </fileResourceSpecifier>
+        <implementationName>org.apache.uima.lucas.indexer.IndexWriterProviderImpl</implementationName>
+      </externalResource>
+    </externalResources>
+    <externalResourceBindings>
+      <externalResourceBinding>
+        <key>indexWriterProvider</key>
+        <resourceName>LucasIndexWriterProvider</resourceName>
+      </externalResourceBinding>
+    </externalResourceBindings>
+  </resourceManagerConfiguration>
+  
+</analysisEngineDescription>

Propchange: incubator/opennlp/sandbox/wikinews-importer/samples/LuceneIndexer.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain