lib/algolia/models/search/snippet_result_option.rb in algolia-3.0.0.alpha.12 vs lib/algolia/models/search/snippet_result_option.rb in algolia-3.0.0.alpha.13
- old
+ new
@@ -3,12 +3,12 @@
require 'date'
require 'time'
module Algolia
module Search
- # Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.
+ # Snippets that show the context around a matching search query.
class SnippetResultOption
- # Markup text with `facetQuery` matches highlighted.
+ # Highlighted attribute value, including HTML tags.
attr_accessor :value
attr_accessor :match_level
class EnumAttributeValidator