com.raritantechnologies.verity
Class DynamicVeritySearchSource
java.lang.Object
com.raritantechnologies.searchApp.SearchSource
com.raritantechnologies.verity.VeritySearchSource
com.raritantechnologies.verity.DynamicVeritySearchSource
- public class DynamicVeritySearchSource
- extends VeritySearchSource
Enables fine grained control of Collection selection and field selection.
Expects a selection field with selection types designated by a prefix:
Collection Selection
Collection:[Collection Name]
Field Selection:
[FieldName]:[Field Value]
Overrides getCollectionNames( ) and getQueryProcessor( ) adds additional query cooking to
provide field-level record selection.
XML Configuration Template:
Developed by
Raritan Technologies .
- Author:
- Ted Sullivan
| Methods inherited from class com.raritantechnologies.verity.VeritySearchSource |
formatResult, formatResult, formatResults, formatResults, getBlankQueryReturnsAll, getCharMap, getCollectionNamesStr, getDefaultSortSpec, getDisplayFields, getK2ServerSpec, getMaxDocCount, getQueryCooker, getQueryParser, getSearchField, getSecurityModel, getServerHost, getServerPort, getZoneCollectionTypeField, getZoneIDField, getZoneNameField, getZonePollInterval, getZoneSearchField, getZoneSource, getZoneSourceQuery, getZoneTypeField, hasCollection, isCaseSensitive, isExternalZoneSource, setBlankQueryReturnsAll, setCaseSensitiveSearch, setCharMap, setCollectionNames, setCollectionSecurityModel, setDefaultSortSpec, setDisplayFields, setExternalZoneSource, setQueryCookerElement, setQueryParserElement, setServerHost, setServerPort, setZoneCollectionTypeField, setZoneIDField, setZoneNameField, setZonePollInterval, setZoneSearchField, setZoneSource, setZoneSourceQuery, setZoneTypeField, toString, zonePoll, zonePollCheck |
| Methods inherited from class com.raritantechnologies.searchApp.SearchSource |
addFieldFormatter, addSearchField, addSourceAttributes, addStaticField, addStaticFields, addUserSearchField, canAccess, canConsolidateSources, consolidateSources, delSearchField, formatResultField, formatResultField, getAccessableFields, getAttributes, getBasePath, getConfigPath, getDisplayName, getFieldFormatters, getIDField, getName, getProperty, getSearchFieldID, getSearchFields, getSearchFields, getSecondarySortSpec, getSecurityManager, getSecurityManagerName, getSecurityModel, getSortSpec, getSourceCredentials, getSourcePropertyNames, getTitleField, getType, getURLField, getUserSearchFields, isMultiThreaded, setConfigPath, setDisplayName, setIDField, setMultiThreaded, setName, setSecurityManagerName, setSecurityModel, setSortMap, setSourcePropertyInfoSource, setTitleField, setType, setURLField, shouldFormatResults, supportsBackgroundSort |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DynamicVeritySearchSource
public DynamicVeritySearchSource()
getCollectionNames
public java.lang.String[] getCollectionNames(ILoginInfo userInfo,
OrderedMap searchParams)
- Overrides:
getCollectionNames in class VeritySearchSource
setSelectableCollections
public void setSelectableCollections(java.lang.String[] selectableCollList)
setSelectQueryField
public void setSelectQueryField(java.lang.String selectQueryField)
setDefaultCollections
public void setDefaultCollections(java.lang.String[] defaultCollections)
setCanReturnZero
public void setCanReturnZero(boolean canReturnZero)
getQueryProcessor
public IQueryProcessor getQueryProcessor()
- Description copied from class:
SearchSource
- returns the type of QueryProcessor that can access this SearchSource.
- Overrides:
getQueryProcessor in class VeritySearchSource