Package com.atlassian.jira.search.issue
Class DocumentSearchRequest
java.lang.Object
com.atlassian.jira.search.issue.DocumentSearchRequest
Encapsulation of all parameters required to match index documents. Includes
JQL QueryApplicationUserOverrideSecurityQueryto further restrict results by adding with an additional queryCollection of fieldsto include in the result documentsAggregationsRequestto compute aggregated results
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the aggregation request to compute aggregated results, ornullif no aggregation requested.builder()booleanReturns he fields to load in the result documents, ornullif all fields should be loaded.Returns an additional query to further restrict results, ornullif no additional query is required.inthashCode()jqlQuery()Returns the JQL query to match documents.booleanReturnstrueif the search should ignore security restrictions,falseotherwise.searcher()Returns the user on whose behalf the search is performed, ornullif the search is anonymous.toString()
-
Method Details
-
builder
-
searcher
Returns the user on whose behalf the search is performed, ornullif the search is anonymous. -
jqlQuery
Returns the JQL query to match documents. Must not benull. -
filterQuery
Returns an additional query to further restrict results, ornullif no additional query is required. -
fieldsToLoad
Returns he fields to load in the result documents, ornullif all fields should be loaded. An empty collection means no fields will be loaded. -
overrideSecurity
public boolean overrideSecurity()Returnstrueif the search should ignore security restrictions,falseotherwise. -
aggregations
Returns the aggregation request to compute aggregated results, ornullif no aggregation requested.- Since:
- 10.5
-
equals
-
hashCode
public int hashCode() -
toString
-