@natlibfi/melinda-record-matching 1.0.10 → 2.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/candidate-search/candidate-search-utils.js +3 -2
- package/dist/candidate-search/candidate-search-utils.js.map +1 -1
- package/dist/candidate-search/index.js +3 -3
- package/dist/candidate-search/index.js.map +1 -1
- package/dist/candidate-search/index.spec.js +2 -2
- package/dist/candidate-search/index.spec.js.map +1 -1
- package/dist/candidate-search/query-list/bib.js +8 -4
- package/dist/candidate-search/query-list/bib.js.map +1 -1
- package/dist/candidate-search/query-list/bib.spec.js +2 -2
- package/dist/candidate-search/query-list/bib.spec.js.map +1 -1
- package/dist/candidate-search/query-list/index.js +3 -3
- package/dist/candidate-search/query-list/index.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.spec.js +2 -2
- package/dist/index.spec.js.map +1 -1
- package/dist/match-detection/features/bib/all-source-ids.js.map +1 -1
- package/dist/match-detection/features/bib/authors.js.map +1 -1
- package/dist/match-detection/features/bib/bibliographic-level.js.map +1 -1
- package/dist/match-detection/features/bib/host-component.js.map +1 -1
- package/dist/match-detection/features/bib/index.js +24 -24
- package/dist/match-detection/features/bib/index.spec.js +2 -2
- package/dist/match-detection/features/bib/index.spec.js.map +1 -1
- package/dist/match-detection/features/bib/isbn.js.map +1 -1
- package/dist/match-detection/features/bib/issn.js.map +1 -1
- package/dist/match-detection/features/bib/language.js.map +1 -1
- package/dist/match-detection/features/bib/melinda-id.js.map +1 -1
- package/dist/match-detection/features/bib/melinda-identifier-factory.js.map +1 -1
- package/dist/match-detection/features/bib/other-standard-identifier.js.map +1 -1
- package/dist/match-detection/features/bib/publication-time.js.map +1 -1
- package/dist/match-detection/features/bib/record-type.js.map +1 -1
- package/dist/match-detection/features/bib/standard-identifier-factory.js.map +1 -1
- package/dist/match-detection/features/bib/title.js.map +1 -1
- package/dist/match-detection/features/index.js +2 -2
- package/dist/match-detection/index.js +2 -2
- package/dist/match-detection/index.js.map +1 -1
- package/dist/match-detection/index.spec.js +2 -2
- package/dist/match-detection/index.spec.js.map +1 -1
- package/dist/matching-utils.js +1 -1
- package/dist/matching-utils.js.map +1 -1
- package/package.json +26 -29
- package/src/candidate-search/candidate-search-utils.js +3 -1
- package/src/candidate-search/query-list/bib.js +5 -0
|
@@ -39,12 +39,15 @@ export function bibSourceIds(record) {
|
|
|
39
39
|
SID__ $c 123457 $b helka
|
|
40
40
|
SID__ $c (ANDL100020)1077305 $b sata
|
|
41
41
|
SID__ $c VER999999 $ FI-KV
|
|
42
|
+
SID__ $c /10024/508126 $ REPO_THESEUS
|
|
42
43
|
|
|
43
44
|
In melinda.sourceid -index case is kept, sourceprefixes in brackets and hyphens are normalized away:
|
|
45
|
+
Note: slashes are not normalized away, but a SRU-search-string including slashes needs to be quoted
|
|
44
46
|
|
|
45
47
|
1234567helka
|
|
46
48
|
1077305sata
|
|
47
49
|
VER999999FIKV
|
|
50
|
+
/10024/508126REPO_THESEUS
|
|
48
51
|
|
|
49
52
|
Note: All Melinda records that have a matching records in a local db do NOT have SID for that local records,
|
|
50
53
|
existence of a SID field depends on how the record has been added to Melinda and how it has been handled
|
|
@@ -56,6 +59,8 @@ export function bibSourceIds(record) {
|
|
|
56
59
|
|
|
57
60
|
const debug = createDebugLogger('@natlibfi/melinda-record-matching:candidate-search:query:source-ids');
|
|
58
61
|
const debugData = debug.extend('data');
|
|
62
|
+
//const debugInfo = debug.extend('info');
|
|
63
|
+
|
|
59
64
|
debug(`Creating queries for sourceid's`);
|
|
60
65
|
|
|
61
66
|
const fSids = record.get('SID');
|