| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Database.Bloodhound.Internal.Highlight
Documentation
data Highlights Source #
Constructors
| Highlights | |
Fields | |
Instances
| Eq Highlights Source # | |
Defined in Database.Bloodhound.Internal.Highlight | |
| Show Highlights Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods showsPrec :: Int -> Highlights -> ShowS # show :: Highlights -> String # showList :: [Highlights] -> ShowS # | |
| ToJSON Highlights Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods toJSON :: Highlights -> Value # toEncoding :: Highlights -> Encoding # toJSONList :: [Highlights] -> Value # toEncodingList :: [Highlights] -> Encoding # | |
data FieldHighlight Source #
Constructors
| FieldHighlight FieldName (Maybe HighlightSettings) |
Instances
| Eq FieldHighlight Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods (==) :: FieldHighlight -> FieldHighlight -> Bool # (/=) :: FieldHighlight -> FieldHighlight -> Bool # | |
| Show FieldHighlight Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods showsPrec :: Int -> FieldHighlight -> ShowS # show :: FieldHighlight -> String # showList :: [FieldHighlight] -> ShowS # | |
| ToJSON FieldHighlight Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods toJSON :: FieldHighlight -> Value # toEncoding :: FieldHighlight -> Encoding # toJSONList :: [FieldHighlight] -> Value # toEncodingList :: [FieldHighlight] -> Encoding # | |
data HighlightSettings Source #
Instances
| Eq HighlightSettings Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods (==) :: HighlightSettings -> HighlightSettings -> Bool # (/=) :: HighlightSettings -> HighlightSettings -> Bool # | |
| Show HighlightSettings Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods showsPrec :: Int -> HighlightSettings -> ShowS # show :: HighlightSettings -> String # showList :: [HighlightSettings] -> ShowS # | |
| ToJSON HighlightSettings Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods toJSON :: HighlightSettings -> Value # toEncoding :: HighlightSettings -> Encoding # toJSONList :: [HighlightSettings] -> Value # toEncodingList :: [HighlightSettings] -> Encoding # | |
data PlainHighlight Source #
Constructors
| PlainHighlight | |
Fields | |
Instances
| Eq PlainHighlight Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods (==) :: PlainHighlight -> PlainHighlight -> Bool # (/=) :: PlainHighlight -> PlainHighlight -> Bool # | |
| Show PlainHighlight Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods showsPrec :: Int -> PlainHighlight -> ShowS # show :: PlainHighlight -> String # showList :: [PlainHighlight] -> ShowS # | |
data PostingsHighlight Source #
Constructors
| PostingsHighlight (Maybe CommonHighlight) |
Instances
| Eq PostingsHighlight Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods (==) :: PostingsHighlight -> PostingsHighlight -> Bool # (/=) :: PostingsHighlight -> PostingsHighlight -> Bool # | |
| Show PostingsHighlight Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods showsPrec :: Int -> PostingsHighlight -> ShowS # show :: PostingsHighlight -> String # showList :: [PostingsHighlight] -> ShowS # | |
data FastVectorHighlight Source #
Constructors
| FastVectorHighlight | |
Fields
| |
Instances
| Eq FastVectorHighlight Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods (==) :: FastVectorHighlight -> FastVectorHighlight -> Bool # (/=) :: FastVectorHighlight -> FastVectorHighlight -> Bool # | |
| Show FastVectorHighlight Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods showsPrec :: Int -> FastVectorHighlight -> ShowS # show :: FastVectorHighlight -> String # showList :: [FastVectorHighlight] -> ShowS # | |
data CommonHighlight Source #
Constructors
| CommonHighlight | |
Fields
| |
Instances
| Eq CommonHighlight Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods (==) :: CommonHighlight -> CommonHighlight -> Bool # (/=) :: CommonHighlight -> CommonHighlight -> Bool # | |
| Show CommonHighlight Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods showsPrec :: Int -> CommonHighlight -> ShowS # show :: CommonHighlight -> String # showList :: [CommonHighlight] -> ShowS # | |
data NonPostings Source #
Constructors
| NonPostings | |
Fields | |
Instances
| Eq NonPostings Source # | |
Defined in Database.Bloodhound.Internal.Highlight | |
| Show NonPostings Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods showsPrec :: Int -> NonPostings -> ShowS # show :: NonPostings -> String # showList :: [NonPostings] -> ShowS # | |
data HighlightEncoder Source #
Constructors
| DefaultEncoder | |
| HTMLEncoder |
Instances
| Eq HighlightEncoder Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods (==) :: HighlightEncoder -> HighlightEncoder -> Bool # (/=) :: HighlightEncoder -> HighlightEncoder -> Bool # | |
| Show HighlightEncoder Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods showsPrec :: Int -> HighlightEncoder -> ShowS # show :: HighlightEncoder -> String # showList :: [HighlightEncoder] -> ShowS # | |
| ToJSON HighlightEncoder Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods toJSON :: HighlightEncoder -> Value # toEncoding :: HighlightEncoder -> Encoding # toJSONList :: [HighlightEncoder] -> Value # toEncodingList :: [HighlightEncoder] -> Encoding # | |
data HighlightTag Source #
Constructors
| TagSchema Text | |
| CustomTags ([Text], [Text]) |
Instances
| Eq HighlightTag Source # | |
Defined in Database.Bloodhound.Internal.Highlight | |
| Show HighlightTag Source # | |
Defined in Database.Bloodhound.Internal.Highlight Methods showsPrec :: Int -> HighlightTag -> ShowS # show :: HighlightTag -> String # showList :: [HighlightTag] -> ShowS # | |
plainHighPairs :: Maybe PlainHighlight -> [Pair] Source #
postHighPairs :: Maybe PostingsHighlight -> [Pair] Source #
commonHighlightPairs :: Maybe CommonHighlight -> [Pair] Source #
nonPostingsToPairs :: Maybe NonPostings -> [Pair] Source #
highlightTagToPairs :: Maybe HighlightTag -> [Pair] Source #