es-elasticity 0.13.3 → 0.13.4.dblackmon.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a54d7a373a1a7a650437862e6d030b7e99e0309f3917d959a1b0ba996ff01f37
|
4
|
+
data.tar.gz: 82fd780a0be517ccc6ef75cea6df78604642dc540022962d7e63219fcb4104bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed9779a74ddf4b93145ccc5346284429f4d931079aa9ad305cd2b8789ba8ca9139d1de688794273496acce72b3190c9906ca6600b990a324ad3c79f51434ecd2
|
7
|
+
data.tar.gz: 6b4b3a252f96ed195c727f7b110a5bddf8895d4ed38bd1865c0f7a4469ed7fc17b63fe415607000061867720bf0db6450d1979b7a73f057cb6b8e7a548423230
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [0.13.4.dblackmon.0] - 2020-05-30
|
10
|
+
### Changed
|
11
|
+
- expose 'matched_queries' property
|
12
|
+
|
9
13
|
## [0.13.3] - 2020-01-30
|
10
14
|
### Changed
|
11
15
|
- 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,14 +1,14 @@
|
|
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.4.dblackmon.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Kochenburger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -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:
|