com.raritantechnologies.concept
Class FactRelationshipOutputProcessor
java.lang.Object
com.raritantechnologies.searchApp.dataCollection.GatewayProcessorFilter
com.raritantechnologies.concept.FactRelationshipOutputProcessor
- All Implemented Interfaces:
- ICollectionIndexer, IConfigurable, IGatewayOutputProcessor, IResultSetProcessor
- public class FactRelationshipOutputProcessor
- extends GatewayProcessorFilter
Uses IFactRelationshipExtractors to extract Term Relationship facts and create a derived result set from
these relationships.
XML Configuration Template:
<OutputProcessor class="com.raritantechnologies.concept.FactRelationshipOutputProcessor"
termField=" result field where subject term is stored ]"
associatedTermField="[ field that gets associated term (object) ]"
factRelationshipField="[ field that gets fact relationship 'statement' ]"
additionalFields="[ comma separated list of additional fields to be copied to output result ]" >
<!-- One or more FactRelationshipExtractors -->
<FactRelationshipExtractor class="[ class of com.raritantechnologies.concept.IFactRelationshipExtractor ]" >
</FactRelationshipExtractor>
<!-- etc. . . -->
<!-- Gateway Output Processor to handle related document results -->
<OutputProcessor class="[ class of com.raritantechnologies.searchApp.dataCollection.IGatewayOutputProcessor ]" >
</OutputProcessor>
</OutputProcessor>
Developed by
Raritan Technologies .
- Author:
- Ted Sullivan
| Methods inherited from class com.raritantechnologies.searchApp.dataCollection.GatewayProcessorFilter |
addOutputProcessor, addPostProcessor, dataComplete, filterResultSet, getConfigurationXML, initialize, initialize, processData, processResultSet, sendToOutput, setIndexMode, setResultMatcher, setUserMatcher |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FactRelationshipOutputProcessor
public FactRelationshipOutputProcessor()
filterData
protected IResultSet filterData(IResultSet data)
- Overrides:
filterData in class GatewayProcessorFilter
initialize
public void initialize(org.w3c.dom.Element elem,
ISearchFieldMap sfMap)
- Description copied from interface:
IGatewayOutputProcessor
- Initialize the GatewayOutputProcessor from XML Configuration Element.
- Specified by:
initialize in interface IGatewayOutputProcessor- Overrides:
initialize in class GatewayProcessorFilter