datastax_rails 2.1.23 → 2.1.24
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7926b33802b989c8cff8b1d1800e884d9c0d6e55
|
4
|
+
data.tar.gz: 1603685996055b3d1bcee493af62f15be964a232
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7d3a825c7efa9dea7262947011bd19d44395c4c1e088d18119bbc145c0efc39f86078fd05c0223e6f86810b565d308f3251b60062ae3071c07f7fabe6d2ac89
|
7
|
+
data.tar.gz: 0ef6d93b119d3b65960caa61e4bbdae8f69d15dcffae0f8617f08ce16e75a2dbe32df101ba459ebc4f651b59bc22ce435103911cea03d47a7261b0a50c09328e
|
data/config/solrconfig.xml.erb
CHANGED
@@ -510,6 +510,8 @@ module DatastaxRails
|
|
510
510
|
params['hl.mergeContiguous'] = @highlight_options[:merge_contiguous].present?
|
511
511
|
params['hl.simple.pre'] = @highlight_options[:pre_tag] if @highlight_options[:pre_tag].present?
|
512
512
|
params['hl.simple.post'] = @highlight_options[:post_tag] if @highlight_options[:post_tag].present?
|
513
|
+
params['hl.maxAnalyzedChars'] =
|
514
|
+
@highlight_options[:max_analyzed_chars] if @highlight_options[:max_analyzed_chars].present?
|
513
515
|
end
|
514
516
|
end
|
515
517
|
|
@@ -499,6 +499,7 @@ module DatastaxRails
|
|
499
499
|
# @param [Hash] opts an options hash to configure the Solr highlighter
|
500
500
|
# @option opts [Integer] :snippets number of highlighted snippets to return
|
501
501
|
# @option opts [Integer] :fragsize number of characters for each snippet length
|
502
|
+
# @option opts [Integer] :max_analyzed_chars number of characters to analyze looking for snippets
|
502
503
|
# @option opts [String] :pre_tag text which appears before a highlighted term
|
503
504
|
# @option opts [String] :post_tag text which appears after a highlighted term
|
504
505
|
# @option opts [true, false] :merge_contiguous collapse contiguous fragments into a single fragment
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datastax_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason M. Kusar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|