Package com.atlan.model.search
Class IndexSearchRequest
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.search.IndexSearchRequest
- All Implemented Interfaces:
- Serializable
Class from which to configure and run a search against Atlan.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classIndexSearchRequest.IndexSearchRequestBuilder<C extends IndexSearchRequest,B extends IndexSearchRequest.IndexSearchRequestBuilder<C, B>> static final classNested classes/interfaces inherited from class com.atlan.model.core.AtlanObjectAtlanObject.AtlanObjectBuilder<C extends AtlanObject,B extends AtlanObject.AtlanObjectBuilder<C, B>> 
- 
Field SummaryFields inherited from class com.atlan.model.core.AtlanObjectrawJsonObject
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotected
- 
Method SummaryModifier and TypeMethodDescriptionstatic IndexSearchRequest.IndexSearchRequestBuilder<?, ?> static IndexSearchRequest.IndexSearchRequestBuilder<?, ?> builder(co.elastic.clients.elasticsearch._types.query_dsl.Query query) Build a search using the provided query and default options.static IndexSearchRequest.IndexSearchRequestBuilder<?, ?> builder(IndexSearchDSL dsl) Build a search using the provided DSL and default options.protected booleanbooleanTBCWhether to include deleted relationships to this asset (true) or not (false).Attributes to include on each result document.getDsl()Parameters for the search itself.Whether to fully restrict results of the search based on the policies of the requestor.Whether to include Atlan tags for assets (false) or not (true).Whether to include term relationships for assets (false) or not (true).Whether to include Atlan tag names for assets (true) or not (false).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.Attributes to include on each related entity of each result document.Controls how the search is logged (if at all).Deprecated.TBCWhether to include lower-level search metadata in results (true) or not (false).When true, include the score of each result.TBCinthashCode()search(AtlanClient client) Run the search.toString()Methods inherited from class com.atlan.model.core.AtlanObjectgetRawJsonObject, setRawJsonObject, toJson
- 
Constructor Details- 
IndexSearchRequest
 
- 
- 
Method Details- 
builderpublic static IndexSearchRequest.IndexSearchRequestBuilder<?,?> builder(co.elastic.clients.elasticsearch._types.query_dsl.Query query) Build a search using the provided query and default options.- Parameters:
- query- the query to use for the search
- Returns:
- the search request, with default options
 
- 
builderBuild a search using the provided DSL and default options.- Parameters:
- dsl- the query details to use for the search
- Returns:
- the search request, with default options
 
- 
searchRun the search.- Parameters:
- client- connectivity to the Atlan tenant on which to run the search
- Returns:
- the matching assets
- Throws:
- AtlanException
 
- 
_internal
- 
toBuilder
- 
getDslParameters for the search itself.
- 
getAttributesAttributes to include on each result document.
- 
getRelationAttributesAttributes to include on each related entity of each result document.
- 
getSuppressLogsTBC
- 
getShowSearchScoreWhen true, include the score of each result. By default, this is false and scores are excluded.
- 
getExcludeMeaningsWhether to include term relationships for assets (false) or not (true). By default, this is false and term relationships are therefore included.
- 
getExcludeAtlanTagsWhether to include Atlan tags for assets (false) or not (true). By default, this is false and Atlan tags are therefore included.
- 
getIncludeAtlanTagNamesWhether 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.
- 
getEnableFullRestrictionWhether to fully restrict results of the search based on the policies of the requestor.
- 
getAccessControlExclusiveTBC
- 
getAllowDeletedRelationsWhether 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.
- 
getRequestRelationshipAttrsForSearchDeprecated.seeincludeRelationshipAttributesinsteadWhether 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.
- 
getIncludeRelationshipAttributesWhether 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.
- 
getRequestMetadataControls how the search is logged (if at all).
- 
getShowSearchMetadataWhether 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).
- 
getShowHighlightsTBC
- 
getPersonaQualified name of a persona through which to restrict the results of the search.
- 
getPurposeQualified name of a purpose through which to restrict the results of the search.
- 
equals- Overrides:
- equalsin class- AtlanObject
 
- 
canEqual- Overrides:
- canEqualin class- AtlanObject
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- AtlanObject
 
- 
toStringDescription copied from class:AtlanObject- Overrides:
- toStringin class- AtlanObject
 
 
- 
includeRelationshipAttributesinstead