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 +5 -5
- data/config/schema.json +18 -2
- data/lib/common_indexer/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6baf38e1d34e353b4b852eb9f84af07a96d01167
|
4
|
+
data.tar.gz: 34217e02c84e8dd7391614581241ac4a32d4608e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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": {
|
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
|
},
|
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.
|
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:
|
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.
|
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
|