com.raritantechnologies.federated.lucene
Class RaritanLuceneWorker

java.lang.Object
  extended byWorker
      extended bycom.raritantechnologies.federated.RaritanWorker
          extended bycom.raritantechnologies.federated.lucene.RaritanLuceneWorker

public class RaritanLuceneWorker
extends RaritanWorker

Handles all LuceneWorker work. This is the only class that is dependent on the Verity RaritanWorker.

Ensures that LuceneQueryProcessor is correctly coupled with an LuceneSearchSource.


Developed by Raritan Technologies Inc..

Author:
Ted Sullivan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.raritantechnologies.federated.RaritanWorker
theQueryProcessor, theSearchSource
 
Constructor Summary
RaritanLuceneWorker()
           
 
Method Summary
protected  SearchSource getSearchSource(ISearchFieldMap sfMap, java.lang.String sourceName)
          returns an LuceneSearchSource.
protected  IXMLSearchSourceFactory getSearchSourceFactory()
           
 
Methods inherited from class com.raritantechnologies.federated.RaritanWorker
doSetCookie, handleRequest, handleTargetedRequest, init, setCookie
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RaritanLuceneWorker

public RaritanLuceneWorker()
Method Detail

getSearchSource

protected SearchSource getSearchSource(ISearchFieldMap sfMap,
                                       java.lang.String sourceName)
returns an LuceneSearchSource. This protected method is needed because the superclass (RaritanWorker) knows the name of the source from the configuration XML but it doesn't know what TYPE of source to create.

Specified by:
getSearchSource in class RaritanWorker

getSearchSourceFactory

protected IXMLSearchSourceFactory getSearchSourceFactory()
Specified by:
getSearchSourceFactory in class RaritanWorker