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
Information about a document that matches the search request.
See: newHit
smart constructor.
Hit' | |
|
Instances
FromJSON Hit Source # | |
Generic Hit Source # | |
Read Hit Source # | |
Show Hit Source # | |
NFData Hit Source # | |
Defined in Amazonka.CloudSearchDomains.Types.Hit | |
Eq Hit Source # | |
Hashable Hit Source # | |
Defined in Amazonka.CloudSearchDomains.Types.Hit | |
type Rep Hit Source # | |
Defined in Amazonka.CloudSearchDomains.Types.Hit type Rep Hit = D1 ('MetaData "Hit" "Amazonka.CloudSearchDomains.Types.Hit" "amazonka-cloudsearch-domains-2.0-IDp90WQyZTIipPfNcVjL2" 'False) (C1 ('MetaCons "Hit'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "exprs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "fields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [Text])))) :*: (S1 ('MetaSel ('Just "highlights") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
Create a value of Hit
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:exprs:Hit'
, hit_exprs
- The expressions returned from a document that matches the search
request.
$sel:fields:Hit'
, hit_fields
- The fields returned from a document that matches the search request.
$sel:highlights:Hit'
, hit_highlights
- The highlights returned from a document that matches the search request.
$sel:id:Hit'
, hit_id
- The document ID of a document that matches the search request.
hit_exprs :: Lens' Hit (Maybe (HashMap Text Text)) Source #
The expressions returned from a document that matches the search request.
hit_fields :: Lens' Hit (Maybe (HashMap Text [Text])) Source #
The fields returned from a document that matches the search request.