public interface SuggestDefinition
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getCursorPosition()
Returns the cursor position for the suggest call.
|
java.lang.Integer |
getLimit()
Returns the maximum number of suggestions to fetch.
|
java.lang.String |
getOptionsName()
Returns the name of the query options used for this query.
|
java.lang.String[] |
getQueryStrings()
Returns the array of strings set for this SuggestDefinition.
|
java.lang.String |
getStringCriteria()
Returns the text of the suggestion call.
|
void |
setCursorPosition(java.lang.Integer cursorPosition)
Sets the cursor position to use in the suggest call.
|
void |
setLimit(java.lang.Integer limit)
Sets a limit for a suggest call.
|
void |
setOptionsName(java.lang.String name)
Sets the name of the query options to be used for this query.
|
void |
setQueryStrings(java.lang.String... qtext)
Sets zero or more search strings to AND with the suggestion call.
|
void |
setStringCriteria(java.lang.String pqtext)
Sets one or more criteria for the suggestion call.
|
java.lang.String getOptionsName()
void setOptionsName(java.lang.String name)
name
- The name of the saved query options node on the server.void setStringCriteria(java.lang.String pqtext)
pqtext
- A string for input to suggestions.java.lang.String getStringCriteria()
void setQueryStrings(java.lang.String... qtext)
qtext
- Zero or more
string queries to qualify that input string.java.lang.String[] getQueryStrings()
void setLimit(java.lang.Integer limit)
limit
- The maximum number of suggestions to fetch.java.lang.Integer getLimit()
void setCursorPosition(java.lang.Integer cursorPosition)
cursorPosition
- The cursor position.java.lang.Integer getCursorPosition()
Copyright © 2013-2021 MarkLogic Corporation.