Package com.atlan.model.search
Class IndexSearchRequest.IndexSearchRequestBuilder<C extends IndexSearchRequest,B extends IndexSearchRequest.IndexSearchRequestBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.search.IndexSearchRequest.IndexSearchRequestBuilder<C,B>
- Enclosing class:
IndexSearchRequest
public abstract static class IndexSearchRequest.IndexSearchRequestBuilder<C extends IndexSearchRequest,B extends IndexSearchRequest.IndexSearchRequestBuilder<C,B>>
extends AtlanObject.AtlanObjectBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) accessControlExclusive
(Boolean accessControlExclusive) TBCallowDeletedRelations
(Boolean allowDeletedRelations) Whether to include deleted relationships to this asset (true) or not (false).applySearchParameters
(SearchParameters searchParameters) Apply the provided search parameters to this index search request.attributes
(Collection<? extends String> attributes) abstract C
build()
dsl
(IndexSearchDSL dsl) Parameters for the search itself.enableFullRestriction
(Boolean enableFullRestriction) Whether to fully restrict results of the search based on the policies of the requestor.excludeAtlanTags
(Boolean excludeAtlanTags) Whether to include Atlan tags for assets (false) or not (true).excludeMeanings
(Boolean excludeMeanings) Whether to include term relationships for assets (false) or not (true).includeAtlanTagNames
(Boolean includeAtlanTagNames) Whether to include Atlan tag names for assets (true) or not (false).includeRelationshipAttributes
(Boolean includeRelationshipAttributes) Whether to include relationship-level attributes for any relationships to each asset (true) or not (false).Qualified name of a persona through which to restrict the results of the search.Qualified name of a purpose through which to restrict the results of the search.relationAttribute
(String relationAttribute) relationAttributes
(Collection<? extends String> relationAttributes) requestMetadata
(IndexSearchRequest.Metadata requestMetadata) Controls how the search is logged (if at all).requestRelationshipAttrsForSearch
(Boolean requestRelationshipAttrsForSearch) Deprecated.protected abstract B
self()
showHighlights
(Boolean showHighlights) TBCshowSearchMetadata
(Boolean showSearchMetadata) Whether to include lower-level search metadata in results (true) or not (false).showSearchScore
(Boolean showSearchScore) When true, include the score of each result.suppressLogs
(Boolean suppressLogs) TBCtoString()
Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
IndexSearchRequestBuilder
public IndexSearchRequestBuilder()
-
-
Method Details
-
applySearchParameters
Apply the provided search parameters to this index search request.- Parameters:
searchParameters
- to apply- Returns:
- this index search request with the provided search parameters applied
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAtlanObject.AtlanObjectBuilder<C extends IndexSearchRequest,
B extends IndexSearchRequest.IndexSearchRequestBuilder<C, B>>
-
dsl
Parameters for the search itself.- Returns:
this
.
-
attribute
-
attributes
-
clearAttributes
-
relationAttribute
-
relationAttributes
-
clearRelationAttributes
-
suppressLogs
TBC- Returns:
this
.
-
showSearchScore
When true, include the score of each result. By default, this is false and scores are excluded.- Returns:
this
.
-
excludeMeanings
Whether to include term relationships for assets (false) or not (true). By default, this is false and term relationships are therefore included.- Returns:
this
.
-
excludeAtlanTags
Whether to include Atlan tags for assets (false) or not (true). By default, this is false and Atlan tags are therefore included.- Returns:
this
.
-
includeAtlanTagNames
Whether to include Atlan tag names for assets (true) or not (false). By default, this is true and Atlan tag names are therefore included. Note that this can be set to true even when excludeAtlanTags is set to false.- Returns:
this
.
-
enableFullRestriction
Whether to fully restrict results of the search based on the policies of the requestor.- Returns:
this
.
-
accessControlExclusive
TBC- Returns:
this
.
-
allowDeletedRelations
Whether to include deleted relationships to this asset (true) or not (false). By default, this is false and therefore only active (not deleted) relationships will be included.- Returns:
this
.
-
requestRelationshipAttrsForSearch
Deprecated.seeincludeRelationshipAttributes(java.lang.Boolean)
insteadWhether to include relationship-level attributes for any relationships to each asset (true) or not (false). By default, this is false and therefore relationship-level attributes are not included.- Returns:
this
.
-
includeRelationshipAttributes
Whether to include relationship-level attributes for any relationships to each asset (true) or not (false). By default, this is false and therefore relationship-level attributes are not included.- Returns:
this
.
-
requestMetadata
Controls how the search is logged (if at all).- Returns:
this
.
-
showSearchMetadata
Whether to include lower-level search metadata in results (true) or not (false). This must be true in order to use extensive paging (beyond built-in thresholds).- Returns:
this
.
-
showHighlights
TBC- Returns:
this
.
-
persona
Qualified name of a persona through which to restrict the results of the search.- Returns:
this
.
-
purpose
Qualified name of a purpose through which to restrict the results of the search.- Returns:
this
.
-
self
- Specified by:
self
in classAtlanObject.AtlanObjectBuilder<C extends IndexSearchRequest,
B extends IndexSearchRequest.IndexSearchRequestBuilder<C, B>>
-
build
- Specified by:
build
in classAtlanObject.AtlanObjectBuilder<C extends IndexSearchRequest,
B extends IndexSearchRequest.IndexSearchRequestBuilder<C, B>>
-
toString
- Overrides:
toString
in classAtlanObject.AtlanObjectBuilder<C extends IndexSearchRequest,
B extends IndexSearchRequest.IndexSearchRequestBuilder<C, B>>
-
includeRelationshipAttributes(java.lang.Boolean)
instead