GoogleApi.ContentWarehouse.V1.Model.ExtraSnippetInfoResponseQuerySubitem
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
Description
A query term, phrase, or synonym. An original query term or phrase is called an "item". Each item may have more than one "subitem" if there are synonyms. In rare cases a subitem may correspond to multiple items, such as the subitem "cia" in the query [central intelligence agency].
Attributes List
This module has the following attributes (case-insensitive ascending order):
View Attributes
Attributes
-
isHighlighted
(type:boolean()
, default:nil
)
- Additional information from the SnippetQuery. -
isOptional
(type:boolean()
, default:nil
)
- -
isOriginal
(type:boolean()
, default:nil
)
- true iff this subitem was an original query term or phrase. Can only be false if want_all_query_subitems == true in the request. -
items
(type:integer()
, default:nil
)
- a bitvector of the query items corresponding to this subitem. Typically only one bit is set, but see comment above. -
text
(type:String.t
, default:nil
)
- text associated with this query item -
weight
(type:integer()
, default:nil
)
- the weight of this query item, as calculated by SubitemWeight(): https://qwiki.corp.google.com/display/Q/SnippetWeights
Type
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.ExtraSnippetInfoResponseQuerySubitem