com.raritantechnologies.recommend.rti
Class RecommendQueryProcessorFilter

java.lang.Object
  extended bycom.raritantechnologies.searchApp.QueryProcessorFilter
      extended bycom.raritantechnologies.recommend.rti.RecommendQueryProcessorFilter
All Implemented Interfaces:
IQueryProcessor

public class RecommendQueryProcessorFilter
extends QueryProcessorFilter

QueryProcessorFilter that applies recommendations (see also fields) to a set of search results.

XML Configuration Template:
   <SourceType name="[filtered Source Name ]" 
                  inputSource  = "[ maps to the input source - use [Session:sourceKey] for session cached source name ]"
                  type="[ the real Type ]"
                  sourceFactoryClass="com.raritantechnologies.searchApp.QueryProcessorFilterFactory"
                  filterClass  = "com.raritantechnologies.recommend.rti.RecommendQueryProcessorFilter" >

    <RecommendResultFormatter>
       <!-- See com.raritantechnologies.recommend.rti.RecommendResultFormatter for configuration details. -->
    </RecommendResultFormatter>

  </SourceType>
 

Developed by Raritan Technologies .

Author:
Ted Sullivan

Field Summary
 
Fields inherited from class com.raritantechnologies.searchApp.QueryProcessorFilter
theQueryProcessor
 
Constructor Summary
RecommendQueryProcessorFilter()
           
 
Method Summary
protected  IResultSet doExecuteQuery(java.lang.Integer queryID, ISearchFieldMap searchMap, SourceLoginInfo[] sources, OrderedMap inputParameters, java.lang.Integer pageSize, java.lang.Integer startRec)
          Execution of the query - finds the "real" or proxy IQueryProcessor.
 void initialize(org.w3c.dom.Element elem)
          Initializes the RecommendQueryProcessorFilter.
 
Methods inherited from class com.raritantechnologies.searchApp.QueryProcessorFilter
executeQuery, filterResultSet, getQueryProcessor, getQueryProcessor, getRealSources, setNextFilter, setQueryProcessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecommendQueryProcessorFilter

public RecommendQueryProcessorFilter()
Method Detail

doExecuteQuery

protected IResultSet doExecuteQuery(java.lang.Integer queryID,
                                    ISearchFieldMap searchMap,
                                    SourceLoginInfo[] sources,
                                    OrderedMap inputParameters,
                                    java.lang.Integer pageSize,
                                    java.lang.Integer startRec)
                             throws QueryProcessorException
Description copied from class: QueryProcessorFilter
Execution of the query - finds the "real" or proxy IQueryProcessor.

Overrides:
doExecuteQuery in class QueryProcessorFilter
Throws:
QueryProcessorException

initialize

public void initialize(org.w3c.dom.Element elem)
Initializes the RecommendQueryProcessorFilter.

Overrides:
initialize in class QueryProcessorFilter