Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- cloudSearchDomains :: Service
- _DocumentServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- _SearchException :: AsError a => Getting (First ServiceError) a ServiceError
- data ContentType
- data QueryParser
- = Dismax
- | Lucene
- | Simple
- | Structured
- data Bucket
- bucket :: Bucket
- bValue :: Lens' Bucket (Maybe Text)
- bCount :: Lens' Bucket (Maybe Integer)
- data BucketInfo
- bucketInfo :: BucketInfo
- biBuckets :: Lens' BucketInfo [Bucket]
- data DocumentServiceWarning
- documentServiceWarning :: DocumentServiceWarning
- dswMessage :: Lens' DocumentServiceWarning (Maybe Text)
- data Hit
- hit :: Hit
- hitExprs :: Lens' Hit (HashMap Text Text)
- hitId :: Lens' Hit (Maybe Text)
- hitHighlights :: Lens' Hit (HashMap Text Text)
- hitFields :: Lens' Hit (HashMap Text [Text])
- data Hits
- hits :: Hits
- hCursor :: Lens' Hits (Maybe Text)
- hHit :: Lens' Hits [Hit]
- hStart :: Lens' Hits (Maybe Integer)
- hFound :: Lens' Hits (Maybe Integer)
- data SearchStatus
- searchStatus :: SearchStatus
- ssRid :: Lens' SearchStatus (Maybe Text)
- ssTimems :: Lens' SearchStatus (Maybe Integer)
- data SuggestModel
- suggestModel :: SuggestModel
- smFound :: Lens' SuggestModel (Maybe Integer)
- smSuggestions :: Lens' SuggestModel [SuggestionMatch]
- smQuery :: Lens' SuggestModel (Maybe Text)
- data SuggestStatus
- suggestStatus :: SuggestStatus
- sRid :: Lens' SuggestStatus (Maybe Text)
- sTimems :: Lens' SuggestStatus (Maybe Integer)
- data SuggestionMatch
- suggestionMatch :: SuggestionMatch
- smSuggestion :: Lens' SuggestionMatch (Maybe Text)
- smScore :: Lens' SuggestionMatch (Maybe Integer)
- smId :: Lens' SuggestionMatch (Maybe Text)
Service Configuration
cloudSearchDomains :: Service Source
API version '2013-01-01' of the Amazon CloudSearch Domain SDK configuration.
Errors
_DocumentServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source
Information about any problems encountered while processing an upload request.
_SearchException :: AsError a => Getting (First ServiceError) a ServiceError Source
Information about any problems encountered while processing a search request.
ContentType
data ContentType Source
QueryParser
data QueryParser Source
Bucket
A container for facet information.
See: bucket
smart constructor.
bCount :: Lens' Bucket (Maybe Integer) Source
The number of hits that contain the facet value in the specified facet field.
BucketInfo
data BucketInfo Source
A container for the calculated facet values and counts.
See: bucketInfo
smart constructor.
bucketInfo :: BucketInfo Source
Creates a value of BucketInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
biBuckets :: Lens' BucketInfo [Bucket] Source
A list of the calculated facet values and counts.
DocumentServiceWarning
data DocumentServiceWarning Source
A warning returned by the document service when an issue is discovered while processing an upload request.
See: documentServiceWarning
smart constructor.
documentServiceWarning :: DocumentServiceWarning Source
Creates a value of DocumentServiceWarning
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dswMessage :: Lens' DocumentServiceWarning (Maybe Text) Source
The description for a warning returned by the document service.
Hit
Information about a document that matches the search request.
See: hit
smart constructor.
Creates a value of Hit
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hitExprs :: Lens' Hit (HashMap Text Text) Source
The expressions returned from a document that matches the search request.
hitId :: Lens' Hit (Maybe Text) Source
The document ID of a document that matches the search request.
hitHighlights :: Lens' Hit (HashMap Text Text) Source
The highlights returned from a document that matches the search request.
hitFields :: Lens' Hit (HashMap Text [Text]) Source
The fields returned from a document that matches the search request.
Hits
The collection of documents that match the search request.
See: hits
smart constructor.
hCursor :: Lens' Hits (Maybe Text) Source
A cursor that can be used to retrieve the next set of matching documents when you want to page through a large result set.
hFound :: Lens' Hits (Maybe Integer) Source
The total number of documents that match the search request.
SearchStatus
data SearchStatus Source
Contains the resource id (rid
) and the time it took to process the
request (timems
).
See: searchStatus
smart constructor.
searchStatus :: SearchStatus Source
Creates a value of SearchStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssTimems :: Lens' SearchStatus (Maybe Integer) Source
How long it took to process the request, in milliseconds.
SuggestModel
data SuggestModel Source
Container for the suggestion information returned in a
SuggestResponse
.
See: suggestModel
smart constructor.
suggestModel :: SuggestModel Source
Creates a value of SuggestModel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smFound :: Lens' SuggestModel (Maybe Integer) Source
The number of documents that were found to match the query string.
smSuggestions :: Lens' SuggestModel [SuggestionMatch] Source
The documents that match the query string.
SuggestStatus
data SuggestStatus Source
Contains the resource id (rid
) and the time it took to process the
request (timems
).
See: suggestStatus
smart constructor.
suggestStatus :: SuggestStatus Source
Creates a value of SuggestStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sTimems :: Lens' SuggestStatus (Maybe Integer) Source
How long it took to process the request, in milliseconds.
SuggestionMatch
data SuggestionMatch Source
An autocomplete suggestion that matches the query string specified in a
SuggestRequest
.
See: suggestionMatch
smart constructor.
suggestionMatch :: SuggestionMatch Source
Creates a value of SuggestionMatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smSuggestion :: Lens' SuggestionMatch (Maybe Text) Source
The string that matches the query string specified in the
SuggestRequest
.