com.raritantechnologies.dieselpoint
Class DieselpointSearchSourceFactory

java.lang.Object
  extended bycom.raritantechnologies.searchApp.XMLSearchSourceFactory
      extended bycom.raritantechnologies.dieselpoint.DieselpointSearchSourceFactory
All Implemented Interfaces:
IXMLSearchSourceFactory

public class DieselpointSearchSourceFactory
extends XMLSearchSourceFactory

Describes a Dieselpoint SearchSource.

Responsible for constructing DieselpointSearchSource objects from <SourceType> XML tags.

XML Configuration Template:
  <SourceType name="TheDieselpointSource" type="DieselpointSearchSource"
            displayName="[ Name to display for source selection UI ]"
            sourceFactoryClass="com.raritantechnologies.dieselpoint.DieselpointSearchSourceFactory" 
            queryProcessor="com.raritantechnologies.dieselpoint.DieselpointQueryProcessor"
            indexName="[ Name of Dieselpoint Index ]"
            useDieselXML=[ true|false(default) ]" 
            freeTextField="[ name of field(s) for free text searching ]"
            IDField="[ field that contains document ID ]"
            URLField="[ field that contains document URL ]"
            titleField="[ field that contains document Title ]" >

   <Fields>

    <Field ID="[Abstract field name in RTI Configuration]" >
      <collection_field name="[The name of the field in Dieselpoint Index]">
        <type>TEXT|TAXONOMY</type>
      </collection_field>
    </Field>

    <Field ID="[Another field ID]">
      <collection_field name="[Dieselpoint field name]">
        <type>TEXT | TAXONOMY</type>
      </collection_field>
    </Field>

    <!-- etc... -->

  </Fields>
 

Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

Constructor Summary
DieselpointSearchSourceFactory()
           
 
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

DieselpointSearchSourceFactory

public DieselpointSearchSourceFactory()
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