|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.verity.collection.ODKOutputProcessor
Uses Verity K2 ODK Indexer interface to send records to Verity K2 Indexer for indexing.
XML Configuration Template:
<GatewayOutputProcessor class="com.raritantechnologies.verity.collection.ODKOutputProcessor"
k2IndexSpec="[k2 host:port of index server]"
workspaceName="[ Unique name of indexing workspace ]"
locale="[ verity K2 locale (e.g. englishx) ]"
collectionName="[ name of k2 Collection ]"
fullTextFileField="[result field ID for full text URL]"
fullTextDataField="[ result field that contains full text data ]"
contentTypeField="[ name of field that contains content type ]"
indexMode="[ INSERT | CREATE | UPDATE | DELETE ]" >
<VerityFieldMap>
<Field fieldID="[ abstract (RTI) fieldID ]" verityField="[ verity field name ]" value="[ optional fixed value ]"
vdkvgwField="[true|false( default ) ]" isZone="[true|false(default) ]" />
</VerityFieldMap>
</GatewayOutputProcessor>
| Constructor Summary | |
ODKOutputProcessor()
|
|
| Method Summary | |
void |
dataComplete()
Data feed is complete. |
java.lang.String |
getConfigurationXML()
|
void |
initialize(org.w3c.dom.Element outputProcElem,
ISearchFieldMap sfMap)
Initialize the GatewayOutputProcessor from XML Configuration Element. |
void |
initialize(java.util.Map initParams)
Used for dynamic initialization (connection, collection name, file name, etc.) |
java.lang.String |
processData(IResultSet data)
returns name of XML File created/appended. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ODKOutputProcessor()
| Method Detail |
public java.lang.String processData(IResultSet data)
IGatewayOutputProcessor
processData in interface IGatewayOutputProcessorpublic void dataComplete()
IGatewayOutputProcessor
dataComplete in interface IGatewayOutputProcessorpublic void initialize(java.util.Map initParams)
IGatewayOutputProcessor
initialize in interface IGatewayOutputProcessor
public void initialize(org.w3c.dom.Element outputProcElem,
ISearchFieldMap sfMap)
IGatewayOutputProcessor
initialize in interface IGatewayOutputProcessorpublic java.lang.String getConfigurationXML()
getConfigurationXML in interface IGatewayOutputProcessor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||