com.raritantechnologies.ultraseek
Class UltraseekSearchSource
java.lang.Object
com.raritantechnologies.searchApp.SearchSource
com.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
| 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 |
UltraseekSearchSource
public UltraseekSearchSource()
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)