@@ -36,27 +36,30 @@ export interface QueryCommandOutput extends QueryResult, __MetadataBearer {}
36
36
37
37
/**
38
38
* @public
39
- * <p>Searches an active index. Use this API to search your documents using query. The
40
- * <code>Query</code> API enables to do faceted search and to filter results based on
41
- * document attributes.</p>
42
- * <p>It also enables you to provide user context that Amazon Kendra uses to enforce
43
- * document access control in the search results.</p>
44
- * <p>Amazon Kendra searches your index for text content and question and answer (FAQ)
45
- * content. By default the response contains three types of results.</p>
39
+ * <p>Searches an index given an input query.</p>
40
+ * <p>You can configure boosting or relevance tuning at the query level to override boosting
41
+ * at the index level, filter based on document fields/attributes and faceted search, and
42
+ * filter based on the user or their group access to documents. You can also include certain
43
+ * fields in the response that might provide useful additional information.</p>
44
+ * <p>A query response contains three types of results.</p>
46
45
* <ul>
47
46
* <li>
48
- * <p>Relevant passages</p>
47
+ * <p>Relevant suggested answers. The answers can be either a text excerpt or table
48
+ * excerpt. The answer can be highlighted in the excerpt.</p>
49
49
* </li>
50
50
* <li>
51
- * <p>Matching FAQs</p>
51
+ * <p>Matching FAQs or questions-answer from your FAQ file. </p>
52
52
* </li>
53
53
* <li>
54
- * <p>Relevant documents</p>
54
+ * <p>Relevant documents. This result type includes an excerpt of the document with
55
+ * the document title. The searched terms can be highlighted in the excerpt.</p>
55
56
* </li>
56
57
* </ul>
57
58
* <p>You can specify that the query return only one type of result using the
58
- * <code>QueryResultTypeFilter</code> parameter.</p>
59
- * <p>Each query returns the 100 most relevant results. </p>
59
+ * <code>QueryResultTypeFilter</code> parameter. Each query returns the 100
60
+ * most relevant results. If you filter result type to only question-answers,
61
+ * a maximum of four results are returned. If you filter result type to only
62
+ * answers, a maximum of three results are returned.</p>
60
63
* @example
61
64
* Use a bare-bones client and the command you need to make an API call.
62
65
* ```javascript
0 commit comments