com.raritantechnologies.searchApp.sourceMap
Class SourceInput
java.lang.Object
com.raritantechnologies.searchApp.sourceMap.SourceInput
- public class SourceInput
- extends java.lang.Object
Defines a pre-configured or "focused" search source. Used as the target of
a source mapped search.
SearchSource name
- Preconfigured or "default" search parameters for this source.
XML Configuration Template:
<Source name="TheSourceName" >
<Field name="AFieldName" value="ItsValue" />
<Field name="AnotherField" value="TheValue" />
</Source>
SourceInputs can also be contructed from previous search results.
For this to succeed, the parameter fields in the result output
must map to input fields expected by the source mapped search
source. A ResultFieldQueryProcessorFilter (com.raritantechnologies.searchApp.queryFilters package )
can be used to do this mapping if the native results from the original
source are not directly mappable.
Developed by
Raritan Technologies .
- Author:
- Ted Sullivan
|
Constructor Summary |
SourceInput(org.w3c.dom.Element sourceElem)
|
SourceInput(IResult searchResult)
A source input can be constructed from a search result:
search result must have a "SearchSource" parameter and a
a set of name=value parameters that will become the input
parameters to the source mapped source. |
SourceInput(java.lang.String name)
|
SourceInput(java.lang.String name,
OrderedMap initParams)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceInput
public SourceInput(java.lang.String name)
SourceInput
public SourceInput(java.lang.String name,
OrderedMap initParams)
SourceInput
public SourceInput(IResult searchResult)
- A source input can be constructed from a search result:
search result must have a "SearchSource" parameter and a
a set of name=value parameters that will become the input
parameters to the source mapped source.
For this to succeed, the parameter fields in the result output
must map to input fields expected by the source mapped search
source. A QueryProcessorFilter can be used to do this mapping if
the native results from the original source are not mappable.
SourceInput
public SourceInput(org.w3c.dom.Element sourceElem)
addInitParam
public void addInitParam(java.lang.String paramName,
java.lang.String paramValue)
getSourceName
public java.lang.String getSourceName()
getInitParams
public OrderedMap getInitParams()
setSecurityManager
public void setSecurityManager(java.lang.String securityManager)
getSecurityManager
public java.lang.String getSecurityManager()