com.raritantechnologies.concept.clustering
Class ClusteringQueryProcessorFilter
java.lang.Object
com.raritantechnologies.searchApp.QueryProcessorFilter
com.raritantechnologies.concept.clustering.ClusteringQueryProcessorFilter
- All Implemented Interfaces:
- IQueryProcessor
- public class ClusteringQueryProcessorFilter
- extends QueryProcessorFilter
Uses an IClusterer to provide a cluster-mapped set of results.
XML Configuration Template:
<SourceType name="[ filtered Source Name ]"
inputSource = "[ maps to the input source - use [Session:sourceKey] for session cached source name ]"
type="[ type of real source ]"
sourceFactoryClass="com.raritantechnologies.searchApp.QueryProcessorFilterFactory"
filterClass = "[ subclass of com.raritantechnologies.searchApp.QueryProcessorFilter ]"
clusterNameField="[ name of result field that contains cluster name ]"
clusterResultsField="[ name of result field that contains nested cluster result set ]" >
<Clusterer class="[ class of com.raritantechnologies.concept.clustering.IClusterer ]" >
</Clusterer>
</SourceType>
Developed by
Raritan Technologies .
- Author:
- Ted Sullivan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusteringQueryProcessorFilter
public ClusteringQueryProcessorFilter()
ClusteringQueryProcessorFilter
public ClusteringQueryProcessorFilter(IQueryProcessor theQueryProcessor)
executeQuery
public IResultSet executeQuery(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
- Base implementation executes the query then starts filter chain.
- Specified by:
executeQuery in interface IQueryProcessor- Overrides:
executeQuery in class QueryProcessorFilter
- Throws:
QueryProcessorException
getClusterer
public IClusterer getClusterer()
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from class:
QueryProcessorFilter
- subclasses should override this to initialize themselves.
- Overrides:
initialize in class QueryProcessorFilter