com.raritantechnologies.dieselpoint
Class DieselpointSearchSourceFactory
java.lang.Object
com.raritantechnologies.searchApp.XMLSearchSourceFactory
com.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DieselpointSearchSourceFactory
public DieselpointSearchSourceFactory()
createSearchSources
public SearchSource[] createSearchSources(org.w3c.dom.Element sourceElem,
ISearchFieldMapFactory factory)
- Specified by:
createSearchSources in interface IXMLSearchSourceFactory- Specified by:
createSearchSources in class XMLSearchSourceFactory