|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.primus.ae.searchclient.ClientRequestImpl com.primus.ae.searchclient.ClientQueryRequest
QueryRequest
instead.
public class ClientQueryRequest
Client query request
Field Summary |
---|
Fields inherited from class com.primus.ae.searchclient.ClientRequestImpl |
---|
constraints, listPropertyAllowed, loggingEnabled, mLoggingThisRequest, mRequestIdentifier, mRequestTime, parsingOptions, requestAttributes |
Fields inherited from interface com.primus.ae.searchclient.ClientRequest |
---|
BROWSE, CATEGORIZE, INSPECT, QUERY, REQUEST_TAG_BROWSE, REQUEST_TAG_CATEGORIZE, REQUEST_TAG_QUERY, REQUEST_TAG_SIMILARDOCS, REQUEST_TAG_STRUCTQUERY, REQUEST_TAG_VIC, SIMILARDOCS, STRUCTQUERY, TAGS, VIC |
Fields inherited from interface atg.search.routing.command.SearchEngineRequest |
---|
CLASS_VERSION |
Constructor Summary | |
---|---|
ClientQueryRequest()
Deprecated. |
|
ClientQueryRequest(java.lang.String queryText)
Deprecated. Simplest possible query request |
|
ClientQueryRequest(java.lang.String queryText,
java.util.List priorInput,
java.util.Map requestAttributes,
DocumentSetConstraint constraints,
DocumentSetConstraint prefAnswerConstraints,
DocumentSetConstraint weightedProperties,
ParserOptions parserOptions,
boolean loggingEnabled)
Deprecated. Must get language for logging from parser options |
|
ClientQueryRequest(java.lang.String queryText,
java.util.List priorInput,
java.util.Map requestAttributes,
DocumentSetConstraint constraints,
DocumentSetConstraint prefAnswerConstraints,
DocumentSetConstraint weightedProperties,
ParserOptions parserOptions,
com.primus.searchstudio.ReportDataControl reportDataControl,
com.primus.searchstudio.CustomResultRanking resultRanking,
com.primus.searchstudio.CustomLogicTree logicTree,
boolean loggingEnabled)
Deprecated. Must get language for logging from parser options |
Method Summary | |
---|---|
com.primus.searchstudio.CustomLogicTree |
getLogicTree()
Deprecated. |
DocumentSetConstraint |
getPrefAnswerConstraints()
Deprecated. |
java.lang.String |
getPrefAnswerConstraintsXml()
Deprecated. |
java.util.List |
getPriorInput()
Deprecated. |
java.lang.String |
getQueryText()
Deprecated. |
com.primus.searchstudio.ReportDataControl |
getReportDataControl()
Deprecated. |
int |
getRequestId()
Deprecated. |
com.primus.searchstudio.CustomResultRanking |
getResultRanking()
Deprecated. |
DocumentSetConstraint |
getWeightedProperties()
Deprecated. |
java.lang.String |
getWeightedPropertiesXml()
Deprecated. |
void |
setLogicTree(com.primus.searchstudio.CustomLogicTree pLogicTree)
Deprecated. |
void |
setPrefAnswerConstraints(DocumentSetConstraint prefAnswerConstraints)
Deprecated. |
void |
setPriorInput(java.util.List priorInput)
Deprecated. sets list of prior input values |
void |
setQueryText(java.lang.String queryText)
Deprecated. |
void |
setReportDataControl(com.primus.searchstudio.ReportDataControl pReportDataControl)
Deprecated. |
void |
setResultRanking(com.primus.searchstudio.CustomResultRanking pResultRanking)
Deprecated. |
void |
setWeightedProperties(DocumentSetConstraint weightedProperties)
Deprecated. |
java.lang.String |
toXML()
Deprecated. returns xml suitable for submission to a search engine. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientQueryRequest()
public ClientQueryRequest(java.lang.String queryText, java.util.List priorInput, java.util.Map requestAttributes, DocumentSetConstraint constraints, DocumentSetConstraint prefAnswerConstraints, DocumentSetConstraint weightedProperties, ParserOptions parserOptions, boolean loggingEnabled)
queryText
- question to be askedpriorInput
- prior inputrequestAttributes
- Map of request attributes. See supporting documentationconstraints
- XML constraint string. See supporting documentationprefAnswerConstraints
- XML preferred answer constraint string. See supporting documentationweightedProperties
- weighted properties. See supporting documentationparserOptions
- parser options xml. See supporting documentationloggingEnabled
- if true
, request and responses are loggedQueryConstants
public ClientQueryRequest(java.lang.String queryText)
queryText
- the question to be askedpublic ClientQueryRequest(java.lang.String queryText, java.util.List priorInput, java.util.Map requestAttributes, DocumentSetConstraint constraints, DocumentSetConstraint prefAnswerConstraints, DocumentSetConstraint weightedProperties, ParserOptions parserOptions, com.primus.searchstudio.ReportDataControl reportDataControl, com.primus.searchstudio.CustomResultRanking resultRanking, com.primus.searchstudio.CustomLogicTree logicTree, boolean loggingEnabled)
queryText
- question to be askedpriorInput
- prior inputrequestAttributes
- Map of request attributes. See supporting documentationconstraints
- XML constraint string. See supporting documentationprefAnswerConstraints
- XML preferred answer constraint string. See supporting documentationweightedProperties
- weighted properties. See supporting documentationparserOptions
- parser options xml. See supporting documentationloggingEnabled
- if true
, request and responses are loggedQueryConstants
Method Detail |
---|
public java.lang.String getQueryText()
public java.util.List getPriorInput()
public void setPriorInput(java.util.List priorInput)
priorInput
- List of stringspublic com.primus.searchstudio.CustomLogicTree getLogicTree()
public void setLogicTree(com.primus.searchstudio.CustomLogicTree pLogicTree)
public com.primus.searchstudio.ReportDataControl getReportDataControl()
public void setReportDataControl(com.primus.searchstudio.ReportDataControl pReportDataControl)
public com.primus.searchstudio.CustomResultRanking getResultRanking()
public void setResultRanking(com.primus.searchstudio.CustomResultRanking pResultRanking)
public DocumentSetConstraint getPrefAnswerConstraints()
public java.lang.String getPrefAnswerConstraintsXml()
public void setPrefAnswerConstraints(DocumentSetConstraint prefAnswerConstraints)
public DocumentSetConstraint getWeightedProperties()
public java.lang.String getWeightedPropertiesXml()
public void setWeightedProperties(DocumentSetConstraint weightedProperties)
public void setQueryText(java.lang.String queryText)
queryText
- query textpublic int getRequestId()
ClientRequest.QUERY
public java.lang.String toXML() throws atg.search.routing.command.IncompleteCommandException
atg.search.routing.command.IncompleteCommandException
- if the command is incomplete
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |