class Google::Apis::CloudsearchV1::TextPropertyOptions

Options for text properties.

Attributes

operator_options[RW]

Used to provide a search operator for text properties. This is optional. Search operators let users restrict the query to specific fields relevant to the type of item being searched. Corresponds to the JSON property `operatorOptions` @return [Google::Apis::CloudsearchV1::TextOperatorOptions]

retrieval_importance[RW]

Indicates the search quality importance of the tokens within the field when used for retrieval. Corresponds to the JSON property `retrievalImportance` @return [Google::Apis::CloudsearchV1::RetrievalImportance]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 4850
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudsearch_v1/classes.rb, line 4855
def update!(**args)
  @operator_options = args[:operator_options] if args.key?(:operator_options)
  @retrieval_importance = args[:retrieval_importance] if args.key?(:retrieval_importance)
end