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