common_indexer 0.3.0 → 0.3.1

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
- SHA256:
3
- metadata.gz: 6fb827f726a51b3b07fdf75d019a4d73dacbc456b3e98d984c3cdf08bf5ab16c
4
- data.tar.gz: 7a16c14f3f078640f44fb0a65865867806d8ddb7613b517c9df21781e4ef1f72
2
+ SHA1:
3
+ metadata.gz: 6baf38e1d34e353b4b852eb9f84af07a96d01167
4
+ data.tar.gz: 34217e02c84e8dd7391614581241ac4a32d4608e
5
5
  SHA512:
6
- metadata.gz: e58d21dca8ee65e88f883b5ab006c09df8fadc4a772659f67db5ab5a029c84c0a97c01ab3f23523d99415b6ab27ab74370a228f35ff646bb3ed5f4690d9d3a02
7
- data.tar.gz: edc9f062d04b2ea413f3c62d08f77fc5e4b6f78e3032e25ddd17b8f6a6968738b7d3978d08f42194cbeb1f0980adaf3f9c3b054e8b801a5a378791476ebebe8e
6
+ metadata.gz: 77c89cc7b79f9a43ebcfb35051599b0197641f60db011c06f6746e31ce53d6bd3d469b5db2cacc771f56b96e6519706f2e3a2c2ae0dc1f59ece39cde96bd3746
7
+ data.tar.gz: a5245c528324cdbee929c0520ba0c348243d300b216343db01d43de94f274ce2309a36b779ac033b96b36ecd822328c78dcf804f916a36aaf3d4d8ee1b2524a2
data/config/schema.json CHANGED
@@ -1,6 +1,14 @@
1
1
  {
2
2
  "properties": {
3
- "full_text": { "type": "text" }
3
+ "full_text": {
4
+ "type": "text"
5
+ },
6
+ "all_titles": {
7
+ "type": "text"
8
+ },
9
+ "all_subjects": {
10
+ "type": "text"
11
+ }
4
12
  },
5
13
  "dynamic_templates": [
6
14
  {
@@ -39,6 +47,14 @@
39
47
  "mapping": { "type": "keyword" }
40
48
  }
41
49
  },
50
+ {
51
+ "subjects": {
52
+ "path_match": "subject.label",
53
+ "mapping": {
54
+ "copy_to": ["all_subjects"]
55
+ }
56
+ }
57
+ },
42
58
  {
43
59
  "titles": {
44
60
  "path_match": "title.*",
@@ -47,7 +63,7 @@
47
63
  "fields": {
48
64
  "keyword": { "type": "keyword" }
49
65
  },
50
- "copy_to": ["full_text"]
66
+ "copy_to": ["full_text", "all_titles"]
51
67
  }
52
68
  }
53
69
  },
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CommonIndexer
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: common_indexer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Klein
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-08-28 00:00:00.000000000 Z
12
+ date: 2019-02-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: active-fedora
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  version: '0'
209
209
  requirements: []
210
210
  rubyforge_project:
211
- rubygems_version: 2.7.3
211
+ rubygems_version: 2.6.8
212
212
  signing_key:
213
213
  specification_version: 4
214
214
  summary: Common Indexing mixin for NUL Digital Collections