com.raritantechnologies.ultraseek
Class UltraseekSearchSource

java.lang.Object
  extended bycom.raritantechnologies.searchApp.SearchSource
      extended bycom.raritantechnologies.ultraseek.UltraseekSearchSource

public class UltraseekSearchSource
extends SearchSource

SearchSource for Ultraseek collections.

XML Configuration Template:
  <SourceType name="[ source name ]" type="UltraseekSearchSource" displayName="[ source display name ]"
                 sourceFactoryClass="com.raritantechnologies.ultraseek.UltraseekSearchSourceFactory" 
                 queryProcessor="com.raritantechnologies.ultraseek.UltraseekQueryProcessor"
                 host="[ host name of Ultraseek server ]"
                 port="[ port number of Ultraseek server ]"
                 configPath="BASE_PATH/ultraseek.xml" 
                 IDField="[ field that contains document ID ]"
                 URLField="[ field that contains document URL ]"
                 titleField="[ field that contains document Title ]">



    <Fields>
      <!-- One or more Field elements: -->
      <Field ID="Term" xPath="/SearchProcess/Step/params/param[@formName='q']/@value" />
    </Fields>


  </SourceType>
 

Developed by Raritan Technologies Inc..

Author:
Pat Crabtree

Field Summary
 
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
UltraseekSearchSource()
           
 
Method Summary
 java.lang.String getHost()
           
 java.lang.String getPort()
           
 java.lang.Object getProperty(java.lang.String property)
          returns a Source Property.
 IQueryProcessor getQueryProcessor()
          returns the type of QueryProcessor that can access this SearchSource.
 java.lang.String[] getSourcePropertyNames()
          Returns a list of Source type specific property names.
 int getTimeout()
           
 void setHost(java.lang.String host)
           
 void setPort(java.lang.String port)
           
 void setTimeout(int timeout)
           
 
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, getName, getSearchField, getSearchFieldID, getSearchFields, getSearchFields, getSecondarySortSpec, getSecurityManager, getSecurityManagerName, getSecurityModel, getSortSpec, getSourceCredentials, getTitleField, getType, getURLField, getUserSearchFields, isMultiThreaded, setConfigPath, setDisplayName, setIDField, setMultiThreaded, setName, 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

UltraseekSearchSource

public UltraseekSearchSource()
Method Detail

setTimeout

public void setTimeout(int timeout)

getTimeout

public int getTimeout()

getQueryProcessor

public IQueryProcessor getQueryProcessor()
Description copied from class: SearchSource
returns the type of QueryProcessor that can access this SearchSource.

Specified by:
getQueryProcessor in class SearchSource

getSourcePropertyNames

public java.lang.String[] getSourcePropertyNames()
Description copied from class: SearchSource
Returns a list of Source type specific property names.

Overrides:
getSourcePropertyNames in class SearchSource

getProperty

public java.lang.Object getProperty(java.lang.String property)
Description copied from class: SearchSource
returns a Source Property. The standard pattern is to return a String or Object if a property has a single value and a String or Object Array if the property has multiple values.

Overrides:
getProperty in class SearchSource

getHost

public java.lang.String getHost()

setHost

public void setHost(java.lang.String host)

getPort

public java.lang.String getPort()

setPort

public void setPort(java.lang.String port)