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: 46adde0cefb47aa5fc3affe6dbd16645d8357050
4
- data.tar.gz: 9664ee5c527d05bc1020d9bae17898fd386f319e
3
+ metadata.gz: 7926b33802b989c8cff8b1d1800e884d9c0d6e55
4
+ data.tar.gz: 1603685996055b3d1bcee493af62f15be964a232
5
5
  SHA512:
6
- metadata.gz: fa9d465f640a3d72fbf096868b22976a56d39699005c1fbf656dc7394c26567fcc21570f0c8f27260d5a42f5053c308159a1baaeb07f8b752e200cfce85a12a7
7
- data.tar.gz: 81221cc2ccf7b287a8842df07c839622d2ac7bd1f605c8042d5360e34c35ee8038b8eecbea1e771ca42d69c7854fe73c1442bbb4aac900cedc8fc93c120d36ad
6
+ metadata.gz: f7d3a825c7efa9dea7262947011bd19d44395c4c1e088d18119bbc145c0efc39f86078fd05c0223e6f86810b565d308f3251b60062ae3071c07f7fabe6d2ac89
7
+ data.tar.gz: 0ef6d93b119d3b65960caa61e4bbdae8f69d15dcffae0f8617f08ce16e75a2dbe32df101ba459ebc4f651b59bc22ce435103911cea03d47a7261b0a50c09328e
@@ -336,7 +336,7 @@
336
336
  and old cache.
337
337
  -->
338
338
  <filterCache class="solr.FastLRUCache"
339
- size="256"
339
+ size="128"
340
340
  initialSize="0"
341
341
  autowarmCount="0"/>
342
342
 
@@ -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
@@ -1,4 +1,4 @@
1
1
  # rubocop:disable Style/Documentation
2
2
  module DatastaxRails
3
- VERSION = '2.1.23'
3
+ VERSION = '2.1.24'
4
4
  end
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.23
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-12 00:00:00.000000000 Z
11
+ date: 2014-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails