com.raritantechnologies.exalead
Class ExaleadSearchSourceFactory

java.lang.Object
  extended bycom.raritantechnologies.searchApp.XMLSearchSourceFactory
      extended bycom.raritantechnologies.exalead.ExaleadSearchSourceFactory
All Implemented Interfaces:
IXMLSearchSourceFactory

public class ExaleadSearchSourceFactory
extends XMLSearchSourceFactory

Defines a Exalead search source.

XML Configuration Template:
  <SourceType name="[ source name ]" type="ExaleadSearchSource" displayName="[ source display name ]"
                 sourceFactoryClass="com.raritantechnologies.exalead.ExaleadSearchSourceFactory" 
                 queryProcessor="com.raritantechnologies.exalead.ExaleadQueryProcessor"
                 blankQueryReturnsAll="true|false(default)"
                 url="[ URL of Exalead server ]"
                 phonetic="[true|false]"
                 approximate="[true|false]"
                 lemmatize="[true|false]"
                 IDField="[ field that contains document ID ]"
                 URLField="[ field that contains fulltext URL ]"
                 titleField="[ field that contains document title ]" >

    <Fields>
      <!-- One or more Field elements: -->
      <Field ID="[abstract field name ]" collectionField="[ name in Exalead Source ]"  >
    </Fields>

  </SourceType>
 

Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

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

ExaleadSearchSourceFactory

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