com.raritantechnologies.autonomy
Class AutonomySearchSourceFactory

java.lang.Object
  extended bycom.raritantechnologies.searchApp.XMLSearchSourceFactory
      extended bycom.raritantechnologies.autonomy.AutonomySearchSourceFactory
All Implemented Interfaces:
IXMLSearchSourceFactory

public class AutonomySearchSourceFactory
extends XMLSearchSourceFactory

Describes a SearchSource to an Autonomy IDOL Server.

XML Configuration Template:
  <SourceType name="[ source name ]" type="AutonomySearchSource" displayName="[ source display name ]"
                 sourceFactoryClass="com.raritantechnologies.autonomy.AutonomySearchSourceFactory" 
                 queryProcessor="com.raritantechnologies.autonomy.AutonomyQueryProcessor"
                 blankQueryReturnsAll="true|false(default)"
                 host="[ host name of Autonomy IDOL server ]"
                 port="[ port number of Autonomy IDOL server ]"
                 IDField="[ field in result that has result ID ]"
                 URLField="[ field that has fullText URL ]"
                 titleField="[ Field that has result Title ]" >
    <Fields>
      <!-- One or more Field elements: -->
      <Field ID="[abstract field name ]" 
                displayName="[ name to display ]"
                collectionField="[ name in Autonomy ]"
                type="[ ALPHANUMERIC | NUMERIC | DATE ]" >
    </Fields>

    <!-- Static (environment) fields to be added to the query -->
    <QueryFields>
      <!-- One or more Field tags -->
      <Field name="name of field" value="value of field " />
    </QueryFields>
   
  </SourceType>

 

Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

Constructor Summary
AutonomySearchSourceFactory()
           
 
Method Summary
 SearchSource[] createSearchSources(org.w3c.dom.Element sourceElem, ISearchFieldMapFactory factory)
           
 
Methods inherited from class com.raritantechnologies.searchApp.XMLSearchSourceFactory
changeBasePath, initializeFieldFormatters, initializeSource, initializeStaticFields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutonomySearchSourceFactory

public AutonomySearchSourceFactory()
Method Detail

createSearchSources

public SearchSource[] createSearchSources(org.w3c.dom.Element sourceElem,
                                          ISearchFieldMapFactory factory)
Specified by:
createSearchSources in interface IXMLSearchSourceFactory
Specified by:
createSearchSources in class XMLSearchSourceFactory