Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
The collection of documents that match the search request.
See: newHits
smart constructor.
Hits' | |
|
Instances
FromJSON Hits Source # | |
Generic Hits Source # | |
Read Hits Source # | |
Show Hits Source # | |
NFData Hits Source # | |
Defined in Amazonka.CloudSearchDomains.Types.Hits | |
Eq Hits Source # | |
Hashable Hits Source # | |
Defined in Amazonka.CloudSearchDomains.Types.Hits | |
type Rep Hits Source # | |
Defined in Amazonka.CloudSearchDomains.Types.Hits type Rep Hits = D1 ('MetaData "Hits" "Amazonka.CloudSearchDomains.Types.Hits" "amazonka-cloudsearch-domains-2.0-IDp90WQyZTIipPfNcVjL2" 'False) (C1 ('MetaCons "Hits'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cursor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "found") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "hit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Hit])) :*: S1 ('MetaSel ('Just "start") '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:found:Hits'
, hits_found
- The total number of documents that match the search request.
$sel:hit:Hits'
, hits_hit
- A document that matches the search request.
$sel:start:Hits'
, hits_start
- The index of the first matching document.
hits_cursor :: 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.