[−][src]Struct rusoto_kendra::QueryRequest
Fields
attribute_filter: Option<AttributeFilter>
Enables filtered searches based on document attributes. You can only provide one attribute filter; however, the AndAllFilters
, NotFilter
, and OrAllFilters
parameters contain a list of other filters.
The AttributeFilter
parameter enables you to create a set of filtering rules that a document must satisfy to be included in the query results.
facets: Option<Vec<Facet>>
An array of documents attributes. Amazon Kendra returns a count for each attribute key specified. You can use this information to help narrow the search for your user.
index_id: String
The unique identifier of the index to search. The identifier is returned in the response from the operation.
page_number: Option<i64>
Query results are returned in pages the size of the PageSize
parameter. By default, Amazon Kendra returns the first page of results. Use this parameter to get result pages after the first one.
page_size: Option<i64>
Sets the number of results that are returned in each page of results. The default page size is 10. The maximum number of results returned is 100. If you ask for more than 100 results, only 100 are returned.
query_result_type_filter: Option<String>
Sets the type of query. Only results for the specified query type are returned.
query_text: String
The text to search for.
requested_document_attributes: Option<Vec<String>>
An array of document attributes to include in the response. No other document attributes are included in the response. By default all document attributes are included in the response.
Trait Implementations
impl Clone for QueryRequest
[src]
fn clone(&self) -> QueryRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for QueryRequest
[src]
impl Default for QueryRequest
[src]
fn default() -> QueryRequest
[src]
impl PartialEq<QueryRequest> for QueryRequest
[src]
fn eq(&self, other: &QueryRequest) -> bool
[src]
fn ne(&self, other: &QueryRequest) -> bool
[src]
impl Serialize for QueryRequest
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for QueryRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for QueryRequest
impl Send for QueryRequest
impl Sync for QueryRequest
impl Unpin for QueryRequest
impl UnwindSafe for QueryRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,