lib/sunspot/query/highlighting.rb in sunspot-0.10.2 vs lib/sunspot/query/highlighting.rb in sunspot-0.10.3
- old
+ new
@@ -25,11 +25,11 @@
params[:"hl.snippets"] = max_snippets
end
if fragment_size = @options[:fragment_size]
params[:"hl.fragsize"] = fragment_size
end
- if @options[:merge_continuous_fragments]
- params[:"hl.mergeContinuous"] = 'true'
+ if @options[:merge_contiguous_fragments]
+ params[:"hl.mergeContiguous"] = 'true'
end
if @options[:phrase_highlighter]
params[:"hl.usePhraseHighlighter"] = 'true'
if @options[:require_field_match]
params[:"hl.requireFieldMatch"] = 'true'