com.raritantechnologies.verity.parametric
Class ParametricSearchSourceFactory
java.lang.Object
com.raritantechnologies.searchApp.XMLSearchSourceFactory
com.raritantechnologies.verity.VeritySearchSourceFactory
com.raritantechnologies.verity.parametric.ParametricSearchSourceFactory
- All Implemented Interfaces:
- IXMLSearchSourceFactory
- public class ParametricSearchSourceFactory
- extends VeritySearchSourceFactory
Constructs a ParametricSearchSource
from an XML Configuration source.
XML Configuration Template:
<SourceType
name="[Parametric Source Name]"
type="ParametricSearchSource"
displayName="[Source Name displayed to User]"
sourceFactoryClass="com.raritantechnologies.verity.parametric.ParametricSearchSourceFactory"
queryProcessor="com.raritantechnologies.verity.parametric.SortingParametricQueryProcessor"
maxVPSearchUses="[ number of uses for a VPSearch object (default=10) ]" >
<PIConfig
PI="[PI Alias on K2 server]"
hostPortString="[K2 server hostport]"
collectionFields="[comma separated list of collection field aliases]"
DidYouMeanCollection="[colon-separated list of collections to use for Did You Mean lookups]"
selectFields="[comma separated list of select (dropdown) fields]"
defaultSortField="[default sorting field]"
taxFields="[comma separated list of taxonomy fields]"
maxDoc = "0"
numPerPage = "10"
searchCaseSensitive="true/false" <!-- default is false -->
browseClearsSearch="true/false" <!-- default is false -->
/>
<QueryParser class="[queryParser class]" >
<!-- parameters needed by QueryParser -->
</QueryParser>
<QueryCooker class="[queryCooker class]" >
<!-- parameters needed by QueryCooker -->
</QueryCooker>
<SecurityModel>
<search>[public/restricted]
<fullText>[public/restricted]
</SecurityModel>
</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 |
ParametricSearchSourceFactory
public ParametricSearchSourceFactory()
createSearchSources
public SearchSource[] createSearchSources(org.w3c.dom.Element sourceElem,
ISearchFieldMapFactory factory)
- Specified by:
createSearchSources in interface IXMLSearchSourceFactory- Overrides:
createSearchSources in class VeritySearchSourceFactory