DisplaySpec

Specifies features for display, like match highlighting.

JSON representation
{"matchHighlightingCondition":enum (MatchHighlightingCondition)}
Fields
matchHighlightingCondition

enum (MatchHighlightingCondition)

The condition under which match highlighting should occur.

MatchHighlightingCondition

Enum describing under which condition match highlighting should occur.

Enums
MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIEDServer behavior is the same asMATCH_HIGHLIGHTING_DISABLED.
MATCH_HIGHLIGHTING_DISABLEDDisables match highlighting on all documents.
MATCH_HIGHLIGHTING_ENABLEDEnables match highlighting on all documents.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-27 UTC.