You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* <p>A token that identifies a particular result from a particular query. Use this token to
227
-
* provide click-through feedback for the result. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/submitting-feedback.html">Submitting feedback</a>.</p>
229
+
* provide click-through feedback for the result. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/submitting-feedback.html">Submitting
* <p>Enables fetching access levels of groups and users from an IAM Identity Center
897
-
* identity source. To configure this, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_UserGroupResolutionConfiguration.html">UserGroupResolutionConfiguration</a>.</p>
899
+
* <p>Gets users and groups from IAM Identity Center
900
+
* identity source. To configure this, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_UserGroupResolutionConfiguration.html">UserGroupResolutionConfiguration</a>. This is useful for user context filtering, where
901
+
* search results are filtered based on the user or their group access to documents.</p>
* <p>This example filters results or documents that belong to the HR department
1205
-
* <i>and</i> belong to projects that contain "new hires"
1206
-
* <i>or</i> "new hiring" in the project name (must use
1207
-
* <code>ContainAny</code> with <code>StringListValue</code>). This example is
1208
-
* filtering with a depth of 2.</p>
1208
+
* <i>and</i> belong to projects that contain "new hires"
1209
+
* <i>or</i> "new hiring" in the project name (must use
1210
+
* <code>ContainAny</code> with <code>StringListValue</code>). This example is filtering
1211
+
* with a depth of 2.</p>
1209
1212
* <p>You cannot filter more than a depth of 2, otherwise you receive a
1210
-
* <code>ValidationException</code> exception with the message "AttributeFilter
1211
-
* cannot have a depth of more than 2." Also, if you use more than 10 attribute
1212
-
* filters in a given list for <code>AndAllFilters</code> or <code>OrAllFilters</code>,
1213
-
* you receive a <code>ValidationException</code> with the message "AttributeFilter
1214
-
* cannot have a length of more than 10".</p>
1215
-
* <p>For examples of using <code>AttributeFilter</code>, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/filtering.html#search-filtering">Using
1216
-
* document attributes to filter search results</a>.</p>
1213
+
* <code>ValidationException</code> exception with the message "AttributeFilter cannot have
1214
+
* a depth of more than 2." Also, if you use more than 10 attribute filters in a given list
1215
+
* for <code>AndAllFilters</code> or <code>OrAllFilters</code>, you receive a
1216
+
* <code>ValidationException</code> with the message "AttributeFilter cannot have a length
1217
+
* of more than 10".</p>
1218
+
* <p>For examples of using <code>AttributeFilter</code>, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/filtering.html#search-filtering">Using document attributes to
* <p>The input query text to retrieve relevant passages for the search. Amazon Kendra
1400
1403
* truncates queries at 30 token words, which excludes punctuation and stop words.
1401
-
* Truncation still applies if you use Boolean or more advanced, complex queries.</p>
1404
+
* Truncation still applies if you use Boolean or more advanced, complex queries. For
1405
+
* example, <code>Timeoff AND October AND Category:HR</code> is counted as 3 tokens:
1406
+
* <code>timeoff</code>, <code>october</code>, <code>hr</code>. For more information,
1407
+
* see <a href="https://docs.aws.amazon.com/kendra/latest/dg/searching-example.html#searching-index-query-syntax">Searching with advanced query syntax</a> in the Amazon Kendra Developer Guide. </p>
* <p>The input query text for the search. Amazon Kendra truncates queries at 30 token
1523
1529
* words, which excludes punctuation and stop words. Truncation still applies if you use
1524
-
* Boolean or more advanced, complex queries. </p>
1530
+
* Boolean or more advanced, complex queries. For example, <code>Timeoff AND October AND
1531
+
* Category:HR</code> is counted as 3 tokens: <code>timeoff</code>, <code>october</code>,
1532
+
* <code>hr</code>. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/searching-example.html#searching-index-query-syntax">Searching with advanced query syntax</a> in the Amazon Kendra Developer Guide. </p>
0 commit comments