ISearchQuery
Interface representing a search query with various configuration options.
Methods
getUser
getUser():
string
Returns the user for whom the query is executed.
Returns
stringthe user title for whom the query is executed.
isDisablePatternExtension
isDisablePatternExtension():
boolean
Returns whether pattern extension is disabled for the query.
Returns
booleantrue if pattern extension is disabled, false otherwise.
isDisablePermissions
isDisablePermissions():
boolean
Returns whether permissions are disabled for the query.
Returns
booleantrue if permissions are disabled, false otherwise.
setDisablePatternExtension
setDisablePatternExtension(
pDisablePatternExtension):ISearchQuery
Sets whether pattern extension is disabled for the query.
Parameters
booleantrue to disable pattern extension, false to enable it.
Returns
ISearchQuerythe updated search query instance.
setDisablePermissions
setDisablePermissions(
pDisablePermissions):ISearchQuery
Sets whether permissions are disabled for the query.
Parameters
booleantrue to disable permissions, false to enable them.
Returns
ISearchQuerythe updated search query instance.
setUser
setUser(
pUser):ISearchQuery
Sets the user for whom the query is executed.
Parameters
string | number | booleanthe user title for whom the query is executed.
Returns
ISearchQuerythe updated search query instance.