com.raritantechnologies.federated.verity
Class VerityCurrentResultsSource

java.lang.Object
  extended bycom.raritantechnologies.searchApp.SearchSource
      extended bycom.raritantechnologies.quickstart.CurrentResultsSource
          extended bycom.raritantechnologies.federated.verity.VerityCurrentResultsSource
All Implemented Interfaces:
IQueryProcessor, IXMLSearchSourceFactory

public class VerityCurrentResultsSource
extends CurrentResultsSource

Converts cuurent Verity/Autonomy Federated ResultSet into a RTI IResultSet.

XML Configuration Template:
  <SourceType name="currentSource" type="CurrentResultsSource"
            sourceFactoryClass="com.raritantechnologies.federated.verity.VerityCurrentResultsSource" 
            queryProcessor="com.raritantechnologies.federated.verity.VerityCurrentResultsSource"
            searchWithin="true(default)|false"
            blankQueryReturnsAll="true"
            sessionIDParam="[ query parameter that contains session ID]" >

    <FieldMap textField="[ name of RTI field that gets Federator text field ]" >
      <Field ID="[ RTI Field ID ]" verityField="[ verity federator field ]" />
    </FieldMap>

  </SourceType>
 


Field Summary
 
Fields inherited from class com.raritantechnologies.quickstart.CurrentResultsSource
cachedResultsName
 
Fields inherited from class com.raritantechnologies.searchApp.SearchSource
ID_FIELD, IS_FEDERATED, NUMBER_OF_FIELDS, SECURE, SOURCE_NAME, SOURCE_TYPE, TITLE_FIELD, URL_FIELD
 
Constructor Summary
VerityCurrentResultsSource()
           
 
Method Summary
protected  IResultSet getCurrentResults(java.lang.String sessionID)
           
 void initializeSource(org.w3c.dom.Element sourceElem, SearchSource source)
           
 
Methods inherited from class com.raritantechnologies.quickstart.CurrentResultsSource
createSearchSources, executeQuery, filterResults, getName, getQueryProcessor, setCachedResultName, setName, setSearchWithin
 
Methods inherited from class com.raritantechnologies.searchApp.SearchSource
addFieldFormatter, addSearchField, addSourceAttributes, addStaticField, addStaticFields, addUserSearchField, canAccess, canConsolidateSources, consolidateSources, delSearchField, formatResult, formatResult, formatResultField, formatResultField, formatResults, formatResults, getAccessableFields, getAttributes, getBasePath, getConfigPath, getDisplayName, getFieldFormatters, getIDField, getProperty, getSearchField, getSearchFieldID, getSearchFields, getSearchFields, getSecondarySortSpec, getSecurityManager, getSecurityManagerName, getSecurityModel, getSortSpec, getSourceCredentials, getSourcePropertyNames, getTitleField, getType, getURLField, getUserSearchFields, isMultiThreaded, setConfigPath, setDisplayName, setIDField, setMultiThreaded, setSecurityManagerName, setSecurityModel, setSortMap, setSourcePropertyInfoSource, setTitleField, setType, setURLField, shouldFormatResults, supportsBackgroundSort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerityCurrentResultsSource

public VerityCurrentResultsSource()
Method Detail

getCurrentResults

protected IResultSet getCurrentResults(java.lang.String sessionID)
Overrides:
getCurrentResults in class CurrentResultsSource

initializeSource

public void initializeSource(org.w3c.dom.Element sourceElem,
                             SearchSource source)
Specified by:
initializeSource in interface IXMLSearchSourceFactory
Overrides:
initializeSource in class CurrentResultsSource