Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
The collection of documents that match the search request.
See: newHits
smart constructor.
Hits' | |
|
Instances
Eq Hits Source # | |
Read Hits Source # | |
Show Hits Source # | |
Generic Hits Source # | |
NFData Hits Source # | |
Defined in Amazonka.CloudSearchDomains.Types.Hits | |
Hashable Hits Source # | |
Defined in Amazonka.CloudSearchDomains.Types.Hits | |
FromJSON Hits Source # | |
type Rep Hits Source # | |
Defined in Amazonka.CloudSearchDomains.Types.Hits type Rep Hits = D1 ('MetaData "Hits" "Amazonka.CloudSearchDomains.Types.Hits" "libZSservicesZSamazonka-cloudsearch-domainsZSamazonka-cloudsearch-domains" 'False) (C1 ('MetaCons "Hits'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cursor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Hit]))) :*: (S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "found") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))) |
Create a value of Hits
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cursor:Hits'
, hits_cursor
- A cursor that can be used to retrieve the next set of matching documents
when you want to page through a large result set.
$sel:hit:Hits'
, hits_hit
- A document that matches the search request.
$sel:start:Hits'
, hits_start
- The index of the first matching document.
$sel:found:Hits'
, hits_found
- The total number of documents that match the search request.