$result = $client->query([
'AttributeFilter' => [
'AndAllFilters' => [
[...],
],
'ContainsAll' => [
'Key' => '<string>',
'Value' => [
'DateValue' => <integer || string || DateTime>,
'LongValue' => <integer>,
'StringListValue' => ['<string>', ...],
'StringValue' => '<string>',
],
],
'ContainsAny' => [
'Key' => '<string>',
'Value' => [
'DateValue' => <integer || string || DateTime>,
'LongValue' => <integer>,
'StringListValue' => ['<string>', ...],
'StringValue' => '<string>',
],
],
'EqualsTo' => [
'Key' => '<string>',
'Value' => [
'DateValue' => <integer || string || DateTime>,
'LongValue' => <integer>,
'StringListValue' => ['<string>', ...],
'StringValue' => '<string>',
],
],
'GreaterThan' => [
'Key' => '<string>',
'Value' => [
'DateValue' => <integer || string || DateTime>,
'LongValue' => <integer>,
'StringListValue' => ['<string>', ...],
'StringValue' => '<string>',
],
],
'GreaterThanOrEquals' => [
'Key' => '<string>',
'Value' => [
'DateValue' => <integer || string || DateTime>,
'LongValue' => <integer>,
'StringListValue' => ['<string>', ...],
'StringValue' => '<string>',
],
],
'LessThan' => [
'Key' => '<string>',
'Value' => [
'DateValue' => <integer || string || DateTime>,
'LongValue' => <integer>,
'StringListValue' => ['<string>', ...],
'StringValue' => '<string>',
],
],
'LessThanOrEquals' => [
'Key' => '<string>',
'Value' => [
'DateValue' => <integer || string || DateTime>,
'LongValue' => <integer>,
'StringListValue' => ['<string>', ...],
'StringValue' => '<string>',
],
],
'NotFilter' => [...],
'OrAllFilters' => [
[...],
],
],
'CollapseConfiguration' => [
'DocumentAttributeKey' => '<string>',
'Expand' => true || false,
'ExpandConfiguration' => [
'MaxExpandedResultsPerItem' => <integer>,
'MaxResultItemsToExpand' => <integer>,
],
'MissingAttributeKeyStrategy' => 'IGNORE|COLLAPSE|EXPAND',
'SortingConfigurations' => [
[
'DocumentAttributeKey' => '<string>',
'SortOrder' => 'DESC|ASC',
],
],
],
'DocumentRelevanceOverrideConfigurations' => [
[
'Name' => '<string>',
'Relevance' => [
'Duration' => '<string>',
'Freshness' => true || false,
'Importance' => <integer>,
'RankOrder' => 'ASCENDING|DESCENDING',
'ValueImportanceMap' => [<integer>, ...],
],
],
],
'Facets' => [
[
'DocumentAttributeKey' => '<string>',
'Facets' => [...],
'MaxResults' => <integer>,
],
],
'IndexId' => '<string>',
'PageNumber' => <integer>,
'PageSize' => <integer>,
'QueryResultTypeFilter' => 'DOCUMENT|QUESTION_ANSWER|ANSWER',
'QueryText' => '<string>',
'RequestedDocumentAttributes' => ['<string>', ...],
'SortingConfiguration' => [
'DocumentAttributeKey' => '<string>',
'SortOrder' => 'DESC|ASC',
],
'SortingConfigurations' => [
[
'DocumentAttributeKey' => '<string>',
'SortOrder' => 'DESC|ASC',
],
],
'SpellCorrectionConfiguration' => [
'IncludeQuerySpellCheckSuggestions' => true || false,
],
'UserContext' => [
'DataSourceGroups' => [
[
'DataSourceId' => '<string>',
'GroupId' => '<string>',
],
],
'Groups' => ['<string>', ...],
'Token' => '<string>',
'UserId' => '<string>',
],
'VisitorId' => '<string>',
]);