es-elasticity 0.13.4 → 0.13.5.dblackmon.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/lib/elasticity/base_document.rb +1 -1
- data/lib/elasticity/index_mapper.rb +1 -0
- data/lib/elasticity/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48cc2b37783aa81345f07ad46c95ffd902af46c6dd9a6a740fd028b355413632
|
4
|
+
data.tar.gz: 0d5f714fb620c4b7b658031fa05540b2e2cf360be662966f2e779532d54fb45d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21704f673d49e830493f6ad8595abfb524718d7904d6e44cc878b2947e83009c58aa3f4bfa4f839bab524eb9fbaac08a7e353b8cacbba9d880c00ac9a86f5cd7
|
7
|
+
data.tar.gz: 1116e1b2081b0b65eed1be578c7d9aea6767f7d57da89ef2b8d2564c0298b0938d795607d7a260337cfd15127709c1d0c21bab7bfc9cccbc710921f6bfb1d15d
|
data/CHANGELOG.md
CHANGED
@@ -6,10 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
|
10
|
+
## [0.13.5.dblackmon.1] - 2020-05-21
|
11
|
+
### Changed
|
12
|
+
- expose 'matched_queries' property
|
13
|
+
|
9
14
|
## [0.13.4] - 2020-05-20
|
10
15
|
### Changed
|
11
16
|
- Compatibility with Rails 6
|
12
17
|
|
18
|
+
|
13
19
|
## [0.13.3] - 2020-01-30
|
14
20
|
### Changed
|
15
21
|
- Release on RubyGems using gem-publisher CircleCI Orb
|
data/Gemfile.lock
CHANGED
@@ -12,7 +12,7 @@ module Elasticity
|
|
12
12
|
end
|
13
13
|
|
14
14
|
# Define common attributes for all documents
|
15
|
-
attr_accessor :_id, :highlighted, :_score, :sort, :_explanation, :highlighted_attrs
|
15
|
+
attr_accessor :_id, :highlighted, :_score, :sort, :_explanation, :highlighted_attrs, :matched_queries
|
16
16
|
|
17
17
|
def attributes=(attributes)
|
18
18
|
attributes.each do |attr, value|
|
@@ -150,6 +150,7 @@ module Elasticity
|
|
150
150
|
attrs.merge!(_score: hit["_score"])
|
151
151
|
attrs.merge!(sort: hit["sort"])
|
152
152
|
attrs.merge!(hit["_source"]) if hit["_source"]
|
153
|
+
attrs.merge!(matched_queries: hit["matched_queries"]) if hit["matched_queries"]
|
153
154
|
|
154
155
|
highlighted = nil
|
155
156
|
|
data/lib/elasticity/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: es-elasticity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.5.dblackmon.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Kochenburger
|
@@ -295,9 +295,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
295
295
|
version: '0'
|
296
296
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
297
297
|
requirements:
|
298
|
-
- - "
|
298
|
+
- - ">"
|
299
299
|
- !ruby/object:Gem::Version
|
300
|
-
version:
|
300
|
+
version: 1.3.1
|
301
301
|
requirements: []
|
302
302
|
rubygems_version: 3.1.2
|
303
303
|
signing_key:
|