From ab04699a649da6c54f0a12e72ae758f4ce074e8a Mon Sep 17 00:00:00 2001 From: Paul Beaudoin Date: Thu, 13 Jun 2024 11:04:53 -0400 Subject: [PATCH] Updated standard_number search --- lib/resources.js | 60 +- package-lock.json | 33 +- ...ery-0f12f3b38dded4c803cbfd03cb894c79.json} | 33 +- ...ery-1c7a2f15ba085bec0d5eb27e0dafc3bc.json} | 33 +- ...ery-22ab5905b807f982e076a2f83f3a1078.json} | 33 +- ...ery-23849ca1d228813ed137753f599e05d9.json} | 392 ++++--- ...uery-26dca66affd14a207eb0ec4b506df065.json | 971 ------------------ ...ery-2a58c682e2d8b9a91433a9e79f7f45ce.json} | 31 +- ...uery-2bae88447ac8362f04c272298a2789f0.json | 971 ------------------ ...ery-3dec71921670299556506bfc7f2408c0.json} | 33 +- ...uery-46a2a9ec36a3466501827309ff823f0a.json | 971 ------------------ ...uery-714d151f51e0ab49039161a3e4aedf8d.json | 958 +++++++++++++++++ ...uery-77495a1fa1f017210734f0ed30142e42.json | 958 +++++++++++++++++ ...ery-7d5bef6e71642835d7405ca5e38fde29.json} | 711 ++++++------- ...uery-81268d98a591ed0e1cc30eb119f79072.json | 958 +++++++++++++++++ ...uery-844a4e28490811b6331c646a4fb6ca95.json | 958 +++++++++++++++++ ...ery-8537ea753999fdf0165766b8c2f102e7.json} | 31 +- ...uery-85f068281bf72b39c3debd3978323b12.json | 958 +++++++++++++++++ ...uery-8620b6e2c494fb19cd0860a8ae96e870.json | 958 +++++++++++++++++ ...uery-87c58d7e559c158bbcf035763d8a4036.json | 971 ------------------ ...uery-9ca190a6104beaccbb0a71d8c2d2a28b.json | 971 ------------------ ...uery-a9cf17955dd8814b1e06a8137cbf29ae.json | 958 +++++++++++++++++ ...ery-b9b3c757844ce91a563804198c6d432a.json} | 31 +- ...uery-bbd734b5fcbe1bc6e44e39213ef3292f.json | 958 +++++++++++++++++ ...ery-c097a528cf702e8f3ec1916f2a9d36da.json} | 31 +- ...uery-c827c5d0e7f71d9b3e48f379a009955e.json | 971 ------------------ ...uery-ca9d9f865cb98c5fce03bd414393c0be.json | 971 ------------------ ...uery-cb7465ae7b7851f8f3453303cdc7c1c4.json | 971 ------------------ ...uery-e10820b75bcc5f9417a5e0cee75b3ce5.json | 971 ------------------ ...uery-ec2a0c7d1307a088fc5ab05076da0bcd.json | 958 +++++++++++++++++ ...ode-55f00e8cc159bdb82a9d767ee859bb27.json} | 14 +- 31 files changed, 9254 insertions(+), 9573 deletions(-) rename test/fixtures/{query-86cc88fccaaa349e978c21ced8048ed2.json => query-0f12f3b38dded4c803cbfd03cb894c79.json} (98%) rename test/fixtures/{query-052c6f3310f04c40870c0c8d735c7777.json => query-1c7a2f15ba085bec0d5eb27e0dafc3bc.json} (98%) rename test/fixtures/{query-8086ee9b16a89d962e4042cdbef45ded.json => query-22ab5905b807f982e076a2f83f3a1078.json} (98%) rename test/fixtures/{query-9cfbf70be902ea412e9e01e3ae0ccdf6.json => query-23849ca1d228813ed137753f599e05d9.json} (93%) delete mode 100644 test/fixtures/query-26dca66affd14a207eb0ec4b506df065.json rename test/fixtures/{query-d09cbcecd031eef502bea6f3587f841e.json => query-2a58c682e2d8b9a91433a9e79f7f45ce.json} (93%) delete mode 100644 test/fixtures/query-2bae88447ac8362f04c272298a2789f0.json rename test/fixtures/{query-31004cf6d8e572751c24baf7d7e963b7.json => query-3dec71921670299556506bfc7f2408c0.json} (98%) delete mode 100644 test/fixtures/query-46a2a9ec36a3466501827309ff823f0a.json create mode 100644 test/fixtures/query-714d151f51e0ab49039161a3e4aedf8d.json create mode 100644 test/fixtures/query-77495a1fa1f017210734f0ed30142e42.json rename test/fixtures/{query-4d6cefd37c21dc26c70b44c812678cdd.json => query-7d5bef6e71642835d7405ca5e38fde29.json} (96%) create mode 100644 test/fixtures/query-81268d98a591ed0e1cc30eb119f79072.json create mode 100644 test/fixtures/query-844a4e28490811b6331c646a4fb6ca95.json rename test/fixtures/{query-05154802f70bca2716e997a029531803.json => query-8537ea753999fdf0165766b8c2f102e7.json} (93%) create mode 100644 test/fixtures/query-85f068281bf72b39c3debd3978323b12.json create mode 100644 test/fixtures/query-8620b6e2c494fb19cd0860a8ae96e870.json delete mode 100644 test/fixtures/query-87c58d7e559c158bbcf035763d8a4036.json delete mode 100644 test/fixtures/query-9ca190a6104beaccbb0a71d8c2d2a28b.json create mode 100644 test/fixtures/query-a9cf17955dd8814b1e06a8137cbf29ae.json rename test/fixtures/{query-28e798c057b9260c6023256448897183.json => query-b9b3c757844ce91a563804198c6d432a.json} (93%) create mode 100644 test/fixtures/query-bbd734b5fcbe1bc6e44e39213ef3292f.json rename test/fixtures/{query-e2119c6a7fc1fc1271680788c8b04314.json => query-c097a528cf702e8f3ec1916f2a9d36da.json} (94%) delete mode 100644 test/fixtures/query-c827c5d0e7f71d9b3e48f379a009955e.json delete mode 100644 test/fixtures/query-ca9d9f865cb98c5fce03bd414393c0be.json delete mode 100644 test/fixtures/query-cb7465ae7b7851f8f3453303cdc7c1c4.json delete mode 100644 test/fixtures/query-e10820b75bcc5f9417a5e0cee75b3ce5.json create mode 100644 test/fixtures/query-ec2a0c7d1307a088fc5ab05076da0bcd.json rename test/fixtures/{scsb-by-barcode-c4ad1e16616ee03988ecd2a3977cddcf.json => scsb-by-barcode-55f00e8cc159bdb82a9d767ee859bb27.json} (92%) diff --git a/lib/resources.js b/lib/resources.js index 65636f12..9be426d5 100644 --- a/lib/resources.js +++ b/lib/resources.js @@ -1334,6 +1334,7 @@ const buildElasticQuery = function (params) { } ]) } + if (['contributor'].includes(params.search_scope)) { query.bool.should = query.bool.should.concat([ { @@ -1355,64 +1356,29 @@ const buildElasticQuery = function (params) { ]) } - /* - if (['standard_number'].includes(params.search_scope)) { + if (params.search_scope === 'standard_number') { query.bool.should = query.bool.should.concat([ + { prefix: { idIsbn: { value: querySansQuotes } } }, + { prefix: { idLccn: { value: querySansQuotes } } }, + { prefix: { idOclc: { value: querySansQuotes } } }, { - nested: { - path: 'items', - query: { - match_phrase: { - 'items.shelfMark.raw': { - query: querySansQuotes, - boost: 50 - } - } - } - } - }, - { - nested: { - path: 'items', - query: { - prefix: { - 'items.shelfMark.raw': { - value: querySansQuotes, - boost: 25 - } - } - } - } - }, - { - nested: { - path: 'items', - query: { - term: { - 'items.shelfMark.raw': { - value: querySansQuotes, - boost: 105 - } - } + prefix: { + 'shelfMark.raw': { + value: querySansQuotes, + boost: 10 } } }, { - nested: { - path: 'items', - query: { - term: { - 'items.idBarcode': { - value: querySansQuotes, - boost: 105 - } - } + term: { + 'shelfMark.raw': { + value: querySansQuotes, + boost: 50 } } } ]) } - */ } const advancedParamQueries = ADVANCED_SEARCH_PARAMS diff --git a/package-lock.json b/package-lock.json index bcce3e8d..3c6d8928 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2095,12 +2095,12 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -2443,8 +2443,9 @@ } }, "node_modules/cookie": { - "version": "0.5.0", - "license": "MIT", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", "engines": { "node": ">= 0.6" } @@ -3544,16 +3545,16 @@ } }, "node_modules/express": { - "version": "4.18.3", - "resolved": "https://registry.npmjs.org/express/-/express-4.18.3.tgz", - "integrity": "sha512-6VyCijWQ+9O7WuVMTRBTl+cjNNIzD5cY5mQ1WM8r/LEkI2u8EYpOotESNwzNlyCn3g+dmjKYI6BmNneSr/FSRw==", + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", + "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", "body-parser": "1.20.2", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.5.0", + "cookie": "0.6.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", @@ -3694,9 +3695,9 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "dependencies": { "to-regex-range": "^5.0.1" @@ -3767,9 +3768,9 @@ "integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==" }, "node_modules/follow-redirects": { - "version": "1.15.5", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", - "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "funding": [ { "type": "individual", diff --git a/test/fixtures/query-86cc88fccaaa349e978c21ced8048ed2.json b/test/fixtures/query-0f12f3b38dded4c803cbfd03cb894c79.json similarity index 98% rename from test/fixtures/query-86cc88fccaaa349e978c21ced8048ed2.json rename to test/fixtures/query-0f12f3b38dded4c803cbfd03cb894c79.json index 5b2f1cf7..40f6811d 100644 --- a/test/fixtures/query-86cc88fccaaa349e978c21ced8048ed2.json +++ b/test/fixtures/query-0f12f3b38dded4c803cbfd03cb894c79.json @@ -1,24 +1,21 @@ { "body": { - "took": 29, + "took": 306, "timed_out": false, "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, + "total": 3, + "successful": 3, "failed": 0 }, "hits": { - "total": { - "value": 1, - "relation": "eq" - }, + "total": 1, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", + "_index": "resources-2018-04-09", + "_type": "resource", "_id": "b22144813", - "_score": 49.89173, + "_score": 17.845865, "_source": { "extent": [ "1234, [1] pages, x leaves : illustrations ;", @@ -736,31 +733,23 @@ ] }, "sort": [ - 49.89173, + 17.845865, "b22144813" ], "inner_hits": { "electronicResources": { "hits": { - "total": { - "value": 0, - "relation": "eq" - }, + "total": 0, "max_score": null, "hits": [] } }, "items": { "hits": { - "total": { - "value": 2, - "relation": "eq" - }, + "total": 2, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", - "_id": "b22144813", "_nested": { "field": "items", "offset": 0 @@ -864,8 +853,6 @@ ] }, { - "_index": "resources-2024-06-07", - "_id": "b22144813", "_nested": { "field": "items", "offset": 1 diff --git a/test/fixtures/query-052c6f3310f04c40870c0c8d735c7777.json b/test/fixtures/query-1c7a2f15ba085bec0d5eb27e0dafc3bc.json similarity index 98% rename from test/fixtures/query-052c6f3310f04c40870c0c8d735c7777.json rename to test/fixtures/query-1c7a2f15ba085bec0d5eb27e0dafc3bc.json index 195460a1..a1081e7e 100644 --- a/test/fixtures/query-052c6f3310f04c40870c0c8d735c7777.json +++ b/test/fixtures/query-1c7a2f15ba085bec0d5eb27e0dafc3bc.json @@ -1,24 +1,21 @@ { "body": { - "took": 68, + "took": 617, "timed_out": false, "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, + "total": 3, + "successful": 3, "failed": 0 }, "hits": { - "total": { - "value": 1, - "relation": "eq" - }, + "total": 1, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", + "_index": "resources-2018-04-09", + "_type": "resource", "_id": "b22144813", - "_score": 26.280298, + "_score": 17.58589, "_source": { "extent": [ "1234, [1] pages, x leaves : illustrations ;", @@ -736,31 +733,23 @@ ] }, "sort": [ - 26.280298, + 17.58589, "b22144813" ], "inner_hits": { "electronicResources": { "hits": { - "total": { - "value": 0, - "relation": "eq" - }, + "total": 0, "max_score": null, "hits": [] } }, "items": { "hits": { - "total": { - "value": 2, - "relation": "eq" - }, + "total": 2, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", - "_id": "b22144813", "_nested": { "field": "items", "offset": 0 @@ -864,8 +853,6 @@ ] }, { - "_index": "resources-2024-06-07", - "_id": "b22144813", "_nested": { "field": "items", "offset": 1 diff --git a/test/fixtures/query-8086ee9b16a89d962e4042cdbef45ded.json b/test/fixtures/query-22ab5905b807f982e076a2f83f3a1078.json similarity index 98% rename from test/fixtures/query-8086ee9b16a89d962e4042cdbef45ded.json rename to test/fixtures/query-22ab5905b807f982e076a2f83f3a1078.json index 2ccafe0d..3a9aa1d1 100644 --- a/test/fixtures/query-8086ee9b16a89d962e4042cdbef45ded.json +++ b/test/fixtures/query-22ab5905b807f982e076a2f83f3a1078.json @@ -1,24 +1,21 @@ { "body": { - "took": 52, + "took": 577, "timed_out": false, "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, + "total": 3, + "successful": 3, "failed": 0 }, "hits": { - "total": { - "value": 1, - "relation": "eq" - }, + "total": 1, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", + "_index": "resources-2018-04-09", + "_type": "resource", "_id": "b22144813", - "_score": 26.280298, + "_score": 33.585762, "_source": { "extent": [ "1234, [1] pages, x leaves : illustrations ;", @@ -736,31 +733,23 @@ ] }, "sort": [ - 26.280298, + 33.585762, "b22144813" ], "inner_hits": { "electronicResources": { "hits": { - "total": { - "value": 0, - "relation": "eq" - }, + "total": 0, "max_score": null, "hits": [] } }, "items": { "hits": { - "total": { - "value": 2, - "relation": "eq" - }, + "total": 2, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", - "_id": "b22144813", "_nested": { "field": "items", "offset": 0 @@ -864,8 +853,6 @@ ] }, { - "_index": "resources-2024-06-07", - "_id": "b22144813", "_nested": { "field": "items", "offset": 1 diff --git a/test/fixtures/query-9cfbf70be902ea412e9e01e3ae0ccdf6.json b/test/fixtures/query-23849ca1d228813ed137753f599e05d9.json similarity index 93% rename from test/fixtures/query-9cfbf70be902ea412e9e01e3ae0ccdf6.json rename to test/fixtures/query-23849ca1d228813ed137753f599e05d9.json index 65932869..66ff8c5e 100644 --- a/test/fixtures/query-9cfbf70be902ea412e9e01e3ae0ccdf6.json +++ b/test/fixtures/query-23849ca1d228813ed137753f599e05d9.json @@ -1,40 +1,32 @@ { "body": { - "took": 44, + "took": 196, "timed_out": false, "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, + "total": 3, + "successful": 3, "failed": 0 }, "hits": { - "total": { - "value": 2, - "relation": "eq" - }, + "total": 2, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", - "_id": "pb9917173506421", - "_score": 31.6618, + "_index": "resources-2018-04-09", + "_type": "resource", + "_id": "pb1717", + "_score": 31.070076, "_source": { "extent": [ "x, 340 p. : ill. ;" ], - "nyplSource": [ - "recap-pul" - ], "subjectLiteral_exploded": [ "Cats", - "Cats -- Fiction" - ], - "numItemDatesParsed": [ - 0 + "Cats -- Fiction", + "Cats" ], "publisherLiteral": [ - "Lothrop, Lee & Shepard Books" + "Lothrop, Lee & Shepard Books," ], "description": [ "More than 40 stories and essays about cats by famous writers." @@ -45,102 +37,53 @@ "label": "English" } ], - "numItemsTotal": [ - 1 - ], "createdYear": [ 1979 ], - "title": [ - "Cat encounters : a cat-lover's anthology" - ], "type": [ "nypl:Item" ], - "numItemVolumesParsed": [ - 0 + "title": [ + "Cat encounters : a cat-lover's anthology /" ], "createdString": [ "1979" ], "idLccn": [ - "79002437" - ], - "numElectronicResources": [ - 0 + " 79002437 " ], "contributorLiteral": [ - "Manley, Seon.", - "Lewis, Gogo." + "Lewis, Gogo.", + "Manley, Seon." ], "dateStartYear": [ 1979 ], - "idOclc": [ - "ocm05102099", - "SCSB-817" - ], "identifierV2": [ { "type": "nypl:Bnumber", - "value": "9917173506421" + "value": "1717" }, { "type": "bf:Isbn", "value": "0688419143" }, - { - "type": "nypl:Oclc", - "value": "ocm05102099" - }, - { - "type": "nypl:Oclc", - "value": "SCSB-817" - }, { "type": "bf:Lccn", - "value": "79002437" - }, - { - "type": "bf:Identifier", - "value": "(CStRLIN)NJPG14139839-B" - }, - { - "type": "bf:Identifier", - "value": "(NjP)1717-princetondb" - }, - { - "type": "bf:Identifier", - "value": "(OCoLC)ocm05102099" - }, - { - "type": "bf:Identifier", - "value": "(NjP)Voyager1717" + "value": " 79002437 " } ], - "updatedAt": 1696123690892, + "updatedAt": 1523549727960, "publicationStatement": [ "New York : Lothrop, Lee & Shepard Books, c1979." ], - "genreForm": [ - "Fiction." - ], - "idIsbn": [ - "0688419143" - ], "identifier": [ - "urn:bnum:9917173506421", + "urn:bnum:1717", "urn:isbn:0688419143", - "urn:oclc:ocm05102099", - "urn:oclc:SCSB-817", - "urn:lccn:79002437", - "urn:identifier:(CStRLIN)NJPG14139839-B", - "urn:identifier:(NjP)1717-princetondb", - "urn:identifier:(OCoLC)ocm05102099", - "urn:identifier:(NjP)Voyager1717" + "urn:lccn: 79002437 " ], - "numCheckinCardItems": [ - 0 + "idIsbn": [ + "0688419143" ], "materialType": [ { @@ -170,12 +113,18 @@ "titleDisplay": [ "Cat encounters : a cat-lover's anthology / selected by Seon Manley & Gogo Lewis." ], - "uri": "pb9917173506421", + "uri": "pb1717", "lccClassification": [ "SF445.5 .C378" ], + "numItems": [ + 1 + ], + "numAvailable": [ + 1 + ], "placeOfPublication": [ - "New York" + "New York :" ], "issuance": [ { @@ -185,116 +134,91 @@ ], "dimensions": [ "24 cm." - ], - "idIsbn_clean": [ - "0688419143" ] }, "sort": [ - 31.6618, - "pb9917173506421" + 31.070076, + "pb1717" ], "inner_hits": { "electronicResources": { "hits": { - "total": { - "value": 0, - "relation": "eq" - }, + "total": 0, "max_score": null, "hits": [] } }, "items": { "hits": { - "total": { - "value": 1, - "relation": "eq" - }, + "total": 1, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", - "_id": "pb9917173506421", "_nested": { "field": "items", "offset": 0 }, "_score": null, "_source": { - "accessMessage": [ + "owner": [ { - "id": "accessMessage:1", - "label": "Use in library" + "id": "orgs:0003", + "label": "Princeton University Library" } ], "accessMessage_packed": [ "accessMessage:1||Use in library" ], - "catalogItemType": [ - { - "id": "catalogItemType:1", - "label": "non-circ" - } + "identifier": [ + "urn:barcode:32101087644330" ], "catalogItemType_packed": [ "catalogItemType:1||non-circ" ], - "formatLiteral": [ - "Text" + "accessMessage": [ + { + "id": "accessMessage:1", + "label": "Use in library" + } ], - "idBarcode": [ - "32101087644330" + "status_packed": [ + "status:a||Available " ], - "identifier": [ - "urn:shelfmark:SF445.5 .C378", - "urn:barcode:32101087644330" + "uri": "pi2775", + "shelfMark": [ + "SF445.5 .C378" ], "identifierV2": [ { - "value": "SF445.5 .C378", - "type": "bf:ShelfMark" + "type": "bf:ShelfMark", + "value": "SF445.5 .C378" }, { - "value": "32101087644330", - "type": "bf:Barcode" + "type": "bf:Barcode", + "value": "32101087644330" } ], - "owner": [ - { - "id": "orgs:0003", - "label": "Princeton University Library" - } + "idBarcode": [ + "32101087644330" ], "owner_packed": [ "orgs:0003||Princeton University Library" ], - "physicalLocation": [ - "SF445.5 .C378" - ], - "recapCustomerCode": [ - "PA" - ], "requestable": [ true ], - "shelfMark": [ - "SF445.5 .C378" + "catalogItemType": [ + { + "id": "catalogItemType:1", + "label": "non-circ" + } ], - "shelfMark_sort": "aSF445.5 .C000378", "status": [ { "id": "status:a", - "label": "Available" + "label": "Available " } - ], - "status_packed": [ - "status:a||Available" - ], - "type": [ - "bf:Item" - ], - "uri": "pi23581765460006421" + ] }, "sort": [ null @@ -306,20 +230,26 @@ } }, { - "_index": "resources-2024-06-07", - "_id": "pb1717", - "_score": 31.615255, + "_index": "resources-2018-04-09", + "_type": "resource", + "_id": "pb9917173506421", + "_score": 29.835552, "_source": { "extent": [ "x, 340 p. : ill. ;" ], + "nyplSource": [ + "recap-pul" + ], "subjectLiteral_exploded": [ "Cats", - "Cats -- Fiction", - "Cats" + "Cats -- Fiction" + ], + "numItemDatesParsed": [ + 0 ], "publisherLiteral": [ - "Lothrop, Lee & Shepard Books," + "Lothrop, Lee & Shepard Books" ], "description": [ "More than 40 stories and essays about cats by famous writers." @@ -330,54 +260,103 @@ "label": "English" } ], + "numItemsTotal": [ + 1 + ], "createdYear": [ 1979 ], + "title": [ + "Cat encounters : a cat-lover's anthology" + ], "type": [ "nypl:Item" ], - "title": [ - "Cat encounters : a cat-lover's anthology /" + "numItemVolumesParsed": [ + 0 ], "createdString": [ "1979" ], "idLccn": [ - " 79002437 " + "79002437" + ], + "numElectronicResources": [ + 0 ], "contributorLiteral": [ - "Lewis, Gogo.", - "Manley, Seon." + "Manley, Seon.", + "Lewis, Gogo." ], "dateStartYear": [ 1979 ], + "idOclc": [ + "ocm05102099", + "SCSB-817" + ], "identifierV2": [ { "type": "nypl:Bnumber", - "value": "1717" + "value": "9917173506421" }, { "type": "bf:Isbn", "value": "0688419143" }, + { + "type": "nypl:Oclc", + "value": "ocm05102099" + }, + { + "type": "nypl:Oclc", + "value": "SCSB-817" + }, { "type": "bf:Lccn", - "value": " 79002437 " + "value": "79002437" + }, + { + "type": "bf:Identifier", + "value": "(CStRLIN)NJPG14139839-B" + }, + { + "type": "bf:Identifier", + "value": "(NjP)1717-princetondb" + }, + { + "type": "bf:Identifier", + "value": "(OCoLC)ocm05102099" + }, + { + "type": "bf:Identifier", + "value": "(NjP)Voyager1717" } ], - "updatedAt": 1523549727960, + "updatedAt": 1696123690892, "publicationStatement": [ "New York : Lothrop, Lee & Shepard Books, c1979." ], - "identifier": [ - "urn:bnum:1717", - "urn:isbn:0688419143", - "urn:lccn: 79002437 " + "genreForm": [ + "Fiction." ], "idIsbn": [ "0688419143" ], + "identifier": [ + "urn:bnum:9917173506421", + "urn:isbn:0688419143", + "urn:oclc:ocm05102099", + "urn:oclc:SCSB-817", + "urn:lccn:79002437", + "urn:identifier:(CStRLIN)NJPG14139839-B", + "urn:identifier:(NjP)1717-princetondb", + "urn:identifier:(OCoLC)ocm05102099", + "urn:identifier:(NjP)Voyager1717" + ], + "numCheckinCardItems": [ + 0 + ], "materialType": [ { "id": "resourcetypes:txt", @@ -406,18 +385,12 @@ "titleDisplay": [ "Cat encounters : a cat-lover's anthology / selected by Seon Manley & Gogo Lewis." ], - "uri": "pb1717", + "uri": "pb9917173506421", "lccClassification": [ "SF445.5 .C378" ], - "numItems": [ - 1 - ], - "numAvailable": [ - 1 - ], "placeOfPublication": [ - "New York :" + "New York" ], "issuance": [ { @@ -427,99 +400,108 @@ ], "dimensions": [ "24 cm." + ], + "idIsbn_clean": [ + "0688419143" ] }, "sort": [ - 31.615255, - "pb1717" + 29.835552, + "pb9917173506421" ], "inner_hits": { "electronicResources": { "hits": { - "total": { - "value": 0, - "relation": "eq" - }, + "total": 0, "max_score": null, "hits": [] } }, "items": { "hits": { - "total": { - "value": 1, - "relation": "eq" - }, + "total": 1, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", - "_id": "pb1717", "_nested": { "field": "items", "offset": 0 }, "_score": null, "_source": { - "owner": [ + "accessMessage": [ { - "id": "orgs:0003", - "label": "Princeton University Library" + "id": "accessMessage:1", + "label": "Use in library" } ], "accessMessage_packed": [ "accessMessage:1||Use in library" ], - "identifier": [ - "urn:barcode:32101087644330" + "catalogItemType": [ + { + "id": "catalogItemType:1", + "label": "non-circ" + } ], "catalogItemType_packed": [ "catalogItemType:1||non-circ" ], - "accessMessage": [ - { - "id": "accessMessage:1", - "label": "Use in library" - } + "formatLiteral": [ + "Text" ], - "status_packed": [ - "status:a||Available " + "idBarcode": [ + "32101087644330" ], - "uri": "pi2775", - "shelfMark": [ - "SF445.5 .C378" + "identifier": [ + "urn:shelfmark:SF445.5 .C378", + "urn:barcode:32101087644330" ], "identifierV2": [ { - "type": "bf:ShelfMark", - "value": "SF445.5 .C378" + "value": "SF445.5 .C378", + "type": "bf:ShelfMark" }, { - "type": "bf:Barcode", - "value": "32101087644330" + "value": "32101087644330", + "type": "bf:Barcode" } ], - "idBarcode": [ - "32101087644330" + "owner": [ + { + "id": "orgs:0003", + "label": "Princeton University Library" + } ], "owner_packed": [ "orgs:0003||Princeton University Library" ], + "physicalLocation": [ + "SF445.5 .C378" + ], + "recapCustomerCode": [ + "PA" + ], "requestable": [ true ], - "catalogItemType": [ - { - "id": "catalogItemType:1", - "label": "non-circ" - } + "shelfMark": [ + "SF445.5 .C378" ], + "shelfMark_sort": "aSF445.5 .C000378", "status": [ { "id": "status:a", - "label": "Available " + "label": "Available" } - ] + ], + "status_packed": [ + "status:a||Available" + ], + "type": [ + "bf:Item" + ], + "uri": "pi23581765460006421" }, "sort": [ null diff --git a/test/fixtures/query-26dca66affd14a207eb0ec4b506df065.json b/test/fixtures/query-26dca66affd14a207eb0ec4b506df065.json deleted file mode 100644 index a72d5aca..00000000 --- a/test/fixtures/query-26dca66affd14a207eb0ec4b506df065.json +++ /dev/null @@ -1,971 +0,0 @@ -{ - "body": { - "took": 251, - "timed_out": false, - "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_score": 58.733837, - "_source": { - "extent": [ - "1234, [1] pages, x leaves : illustrations ;", - "1234, [1] p., x leaves : ill. ;", - "Third description instance : More 3rd instance ;" - ], - "partOf": [ - "In: -- 773 0b" - ], - "nyplSource": [ - "sierra-nypl" - ], - "serialPublicationDates": [ - "Publication Date (unformated) -- 362 1b" - ], - "publisherLiteral": [ - "Specious Publ. [prev.pub.-- 260.2b]", - "CopyCat pub. co. -- 260 bb" - ], - "language": [ - { - "id": "lang:eng", - "label": "English" - } - ], - "createdYear": [ - 201 - ], - "parallelTitle": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "type": [ - "nypl:Item" - ], - "shelfMark": [ - "Q-TAG (852 8b q tag. Staff call in bib.)" - ], - "idLccn": [ - "LCCN -- 010", - "9790001138673", - "ISMN", - "Danacode", - "UPC", - "EAN" - ], - "idIssn": [ - "ISSN -- 022" - ], - "seriesStatement": [ - "440 Series ; v. number -- 440 b0", - "490 Series ; v. number -- 490 0b", - "Author, of series. CMA Test Records. -- 800 1b", - "CMA (Cat). CMA Test Records -- 810 2b " - ], - "dateStartYear": [ - 201 - ], - "parallelCreatorLiteral": [ - "‏גלוגר,מרים פ." - ], - "identifierV2": [ - { - "type": "bf:ShelfMark", - "value": "Q-TAG (852 8b q tag. Staff call in bib.)" - }, - { - "type": "nypl:Bnumber", - "value": "22144813" - }, - { - "type": "bf:Isbn", - "value": "0123456789" - }, - { - "type": "bf:Isbn", - "value": "9780123456786 (qualifier)" - }, - { - "type": "bf:Isbn", - "value": "ISBN -- 020" - }, - { - "type": "bf:Isbn", - "identifierStatus": "canceled/invalid", - "value": "ISBN -- 020 $z" - }, - { - "type": "bf:Lccn", - "value": "LCCN -- 010" - }, - { - "type": "bf:Lccn", - "value": "9790001138673" - }, - { - "type": "bf:Lccn", - "value": "ISMN" - }, - { - "type": "bf:Lccn", - "value": "Danacode" - }, - { - "type": "bf:Lccn", - "value": "UPC" - }, - { - "type": "bf:Lccn", - "value": "EAN" - }, - { - "type": "bf:Issn", - "value": "ISSN -- 022" - }, - { - "type": "bf:Identifier", - "value": "Report number. -- 027" - }, - { - "type": "bf:Identifier", - "value": "Publisher no. -- 028 02 " - }, - { - "type": "bf:Identifier", - "value": "Standard number (old RLIN, etc.) -- 035" - }, - { - "type": "bf:Identifier", - "value": "Sudoc no. -- 086" - }, - { - "type": "bf:Identifier", - "value": "GPO Item number. -- 074" - } - ], - "formerTitle": [ - "Former title -- 247 00" - ], - "updatedAt": 1711656889146, - "publicationStatement": [ - "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", - "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "identifier": [ - "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", - "urn:bnum:22144813", - "urn:isbn:0123456789", - "urn:isbn:9780123456786 (qualifier)", - "urn:isbn:ISBN -- 020", - "urn:isbn:ISBN -- 020 $z", - "urn:lccn:LCCN -- 010", - "urn:lccn:9790001138673", - "urn:lccn:ISMN", - "urn:lccn:Danacode", - "urn:lccn:UPC", - "urn:lccn:EAN", - "urn:issn:ISSN -- 022", - "urn:identifier:Report number. -- 027", - "urn:identifier:Publisher no. -- 028 02 ", - "urn:identifier:Standard number (old RLIN, etc.) -- 035", - "urn:identifier:Sudoc no. -- 086", - "urn:identifier:GPO Item number. -- 074" - ], - "mediaType": [ - { - "id": "mediatypes:n", - "label": "unmediated" - } - ], - "subjectLiteral": [ - "Starving artist -- 600 00.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term -- 653" - ], - "titleAlt": [ - "Abrev. title -- 210 ", - "Key title -- 222 ", - "T tagged 240 Uniform title -- t240", - "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", - "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", - "Portion of title 246 30", - "Parallel title 246 31", - "Distinctive title 246 12", - "Other title 246 13", - "Cover title 246 14", - "Cover title 246 04", - "Added title page title 246 15", - "Running title 246 17", - "Caption title 246 16", - "Spine title 246 18", - "No type of title specified 246 3 blank", - "246 1 blank", - "Zaglavie Russiĭi", - "Added title -- 740 0b" - ], - "tableOfContents": [ - "Complete table of contents. -- 505 0b", - "1. Incomplete table of contents. -- First instance.-- 505 1b", - "2. Incomplete table of contents -- Second instance. 505 1b", - "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", - "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." - ], - "note": [ - { - "noteType": "Note", - "label": "Ordinary note. -- 500", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "²³¹", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "⠀⠀⠀\\___( ツ )___", - "type": "bf:Note" - }, - { - "noteType": "With", - "label": "Bound with note. -- 501", - "type": "bf:Note" - }, - { - "noteType": "Thesis", - "label": "Thesis -- (degree) note. -- 502", - "type": "bf:Note" - }, - { - "noteType": "Bibliography", - "label": "Includes bibliographical references (p. [1235]). -- 504", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Access -- 506 blank,any", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Restricted Access -- 506 1,any", - "type": "bf:Note" - }, - { - "noteType": "Scale", - "label": "Scale (graphic) -- 507", - "type": "bf:Note" - }, - { - "noteType": "Credits", - "label": "Credits (Creation/production credits note) -- 508", - "type": "bf:Note" - }, - { - "noteType": "Performer", - "label": "Cast --511 1b", - "type": "bf:Note" - }, - { - "noteType": "Type of Report", - "label": "Type of Report. -- 513", - "type": "bf:Note" - }, - { - "noteType": "Data Quality", - "label": "Data quality -- 514", - "type": "bf:Note" - }, - { - "noteType": "Numbering", - "label": "Completely irregular. -- 515", - "type": "bf:Note" - }, - { - "noteType": "File Type", - "label": "File type. -- 516", - "type": "bf:Note" - }, - { - "noteType": "Event", - "label": "Event. -- 518", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience (2): Test of 2nd 521 field.", - "type": "bf:Note" - }, - { - "noteType": "Coverage", - "label": "Coverage -- 522", - "type": "bf:Note" - }, - { - "noteType": "Cite As", - "label": "Cite as: The Mega-MARC test record. -- 524", - "type": "bf:Note" - }, - { - "noteType": "Supplement", - "label": "Supplement -- 525", - "type": "bf:Note" - }, - { - "noteType": "Study Program", - "label": "Study program -- 526 8b ", - "type": "bf:Note" - }, - { - "noteType": "Additional Formats", - "label": "Other test records available. -- 530", - "type": "bf:Note" - }, - { - "noteType": "Reproduction", - "label": "Microfilm.", - "type": "bf:Note" - }, - { - "noteType": "Original Location", - "label": "Original location in SASB -- 535", - "type": "bf:Note" - }, - { - "noteType": "Funding", - "label": "Funding -- 536", - "type": "bf:Note" - }, - { - "noteType": "System Details", - "label": "System Details -- 538", - "type": "bf:Note" - }, - { - "noteType": "Terms of Use", - "label": "Use as test record -- 540", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source display-- 5411b", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", - "type": "bf:Note" - }, - { - "noteType": "Location of Other Archival Materials", - "label": "Location of Other Archival Materials -- 544", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 545", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 5451 Administrative history", - "type": "bf:Note" - }, - { - "noteType": "Language", - "label": "In English and non-roman scripts. -- 546", - "type": "bf:Note" - }, - { - "noteType": "Former Title", - "label": "Former title (complexity note) -- 547", - "type": "bf:Note" - }, - { - "noteType": "Issued By", - "label": "Issued by CCO -- 550", - "type": "bf:Note" - }, - { - "noteType": "Indexes/Finding Aids", - "label": "Indexes -- 555 bb", - "type": "bf:Note" - }, - { - "noteType": "Documentation", - "label": "Documentation (information about, note) -- 556", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance display --5611b", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", - "type": "bf:Note" - }, - { - "noteType": "Copy/Version", - "label": "Copy/Version (identification note) -- 562", - "type": "bf:Note" - }, - { - "noteType": "Binding", - "label": "Binding -- 563", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Complemented by Linking entry: Bogus title -- 580", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Linking Entry (complexity note) -- 580", - "type": "bf:Note" - }, - { - "noteType": "Publications", - "label": "Publications (about described material note) -- 581", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action display --583 1b", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", - "type": "bf:Note" - }, - { - "noteType": "Exhibitions", - "label": "Exhibitions -- 585", - "type": "bf:Note" - }, - { - "noteType": "Awards", - "label": "Awards -- 586", - "type": "bf:Note" - }, - { - "noteType": "Source of Description", - "label": "Latest issue consulted: 1900/1901. -- 588 1b", - "type": "bf:Note" - } - ], - "subjectLiteral_exploded": [ - "Starving artist", - "Starving artist -- 600 00", - "Artist, Starving, 1900-1999", - "Artist, Starving, 1900-1999 -- Autobiography.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject.", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers", - "Secret Society of Catalogers -- Periodicals.", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield", - "testing x as first subfield -- testing v as second subfield.", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", - "Conference subject entry.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield)", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g", - "testing 4 testing a testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title", - "Life is a common square.", - "Life is a common square. -- Criticism.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g", - "testing 4 testing a testing d testing e testing g -- testing v", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting", - "Textile industry testing datetesting -- 650 b0 $z, $x", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e", - "testing 4 testing a testing b testing c testing d testing e -- testing v", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.)", - "New York (N.Y.) -- 21st century", - "New York (N.Y.) -- 21st century -- Diaries.", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country.", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g", - "testing 4 testing a testing e testing g -- testing v", - "testing 4 testing a testing e testing g -- testing v -- testing x", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term", - "Indexed term -- 653" - ], - "numItemDatesParsed": [ - 0 - ], - "description": [ - "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", - "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" - ], - "numItemsTotal": [ - 2 - ], - "dateEndString": [ - "2011" - ], - "title": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" - ], - "numItemVolumesParsed": [ - 1 - ], - "createdString": [ - "201" - ], - "creatorLiteral": [ - "Gloger, Miriam.", - "BookOps. Cataloging. --110 2b ab.", - "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" - ], - "numElectronicResources": [ - 4 - ], - "contributorLiteral": [ - "Cramer, Richard, 1948-.", - "Cramer, Richard, 1948-", - "Bayer, Jeffrey.", - "Bayer, Jeffrey", - "New York Public Library Database Management Group. -- 710 2b", - "Conference added author. 711 2b", - "Added entry (uncontrolled name) -- 7201", - "Cramer, Richard, 1948- fmo", - "Virtual collection -- 791 2b" - ], - "donor": [ - "Donor / Sponsor -- 799 bb" - ], - "uniformTitle": [ - "T tagged 240 Uniform title -- t240", - "Added title -- 730 0b", - "CMA Test Records -- 830 b0" - ], - "dateEndYear": [ - 2011 - ], - "parallelTitleAlt": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "зглавие руссий" - ], - "genreForm": [ - "Genre heading.", - "Blank pages and looks – Someplace – 1990.", - "testing a – testing b – testing c – testing v – testing x – testing y – testing z" - ], - "idIsbn": [ - "0123456789", - "9780123456786 (qualifier)", - "ISBN -- 020" - ], - "numCheckinCardItems": [ - 0 - ], - "materialType": [ - { - "id": "resourcetypes:txt", - "label": "Text" - } - ], - "carrierType": [ - { - "id": "carriertypes:nc", - "label": "volume" - } - ], - "dateString": [ - "201" - ], - "titleDisplay": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." - ], - "uri": "b22144813", - "electronicResources": [ - { - "label": "856 40", - "url": "http://blogs.nypl.org/rcramer/" - }, - { - "label": "Yizkor Book (NYPL resource) 856 41", - "url": "http://yizkor.nypl.org/index.php?id=2936" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" - } - ], - "parallelTitleDisplay": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "placeOfPublication": [ - "[s.l.]", - "Long Island CIty, N.Y.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "issuance": [ - { - "id": "urn:biblevel:m", - "label": "monograph/item" - } - ], - "supplementaryContent": [ - { - "label": "Contents", - "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" - } - ], - "dimensions": [ - "26 cm +", - "26 cm. +", - "More 3rd instance -- 300 (3rd instance)" - ], - "idIsbn_clean": [ - "0123456789", - "9780123456786", - "020" - ] - }, - "sort": [ - 58.733837, - "b22144813" - ], - "inner_hits": { - "electronicResources": { - "hits": { - "total": { - "value": 0, - "relation": "eq" - }, - "max_score": null, - "hits": [] - } - }, - "items": { - "hits": { - "total": { - "value": 2, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 0 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:1", - "label": "Use in library" - } - ], - "accessMessage_packed": [ - "accessMessage:1||Use in library" - ], - "catalogItemType": [ - { - "id": "catalogItemType:2", - "label": "book non-circ" - } - ], - "catalogItemType_packed": [ - "catalogItemType:2||book non-circ" - ], - "enumerationChronology": [ - "v.1" - ], - "enumerationChronology_sort": [ - " 1-" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:mall1", - "label": "Schwarzman Building - Main Reading Room 315 - Reference" - } - ], - "holdingLocation_packed": [ - "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" - ], - "idBarcode": [ - "3333333333" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "urn:barcode:3333333333" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "type": "bf:ShelfMark" - }, - { - "value": "3333333333", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1101", - "label": "General Research Division" - } - ], - "owner_packed": [ - "orgs:1101||General Research Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - false - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", - "status": [ - { - "id": "status:k", - "label": "Check with staff" - } - ], - "status_packed": [ - "status:k||Check with staff" - ], - "type": [ - "bf:Item" - ], - "volumeRange": [ - { - "gte": 1, - "lte": 1 - } - ], - "uri": "i37857771" - }, - "sort": [ - " 1-" - ] - }, - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 1 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:2", - "label": "Request in advance" - } - ], - "accessMessage_packed": [ - "accessMessage:2||Request in advance" - ], - "catalogItemType": [ - { - "id": "catalogItemType:3", - "label": "serial" - } - ], - "catalogItemType_packed": [ - "catalogItemType:3||serial" - ], - "enumerationChronology": [ - "nothing" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:rcmf2", - "label": "Offsite" - } - ], - "holdingLocation_packed": [ - "loc:rcmf2||Offsite" - ], - "idBarcode": [ - "44455533322211" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "urn:barcode:44455533322211" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "type": "bf:ShelfMark" - }, - { - "value": "44455533322211", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1103", - "label": "Dorot Jewish Division" - } - ], - "owner_packed": [ - "orgs:1103||Dorot Jewish Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - true - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "status": [ - { - "id": "status:a", - "label": "Available" - } - ], - "status_packed": [ - "status:a||Available" - ], - "type": [ - "bf:Item" - ], - "uri": "i37857772" - }, - "sort": [ - null - ] - } - ] - } - } - } - } - ] - } - }, - "statusCode": 200 -} \ No newline at end of file diff --git a/test/fixtures/query-d09cbcecd031eef502bea6f3587f841e.json b/test/fixtures/query-2a58c682e2d8b9a91433a9e79f7f45ce.json similarity index 93% rename from test/fixtures/query-d09cbcecd031eef502bea6f3587f841e.json rename to test/fixtures/query-2a58c682e2d8b9a91433a9e79f7f45ce.json index 9617cf96..a4718c0f 100644 --- a/test/fixtures/query-d09cbcecd031eef502bea6f3587f841e.json +++ b/test/fixtures/query-2a58c682e2d8b9a91433a9e79f7f45ce.json @@ -1,24 +1,21 @@ { "body": { - "took": 119, + "took": 536, "timed_out": false, "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, + "total": 3, + "successful": 3, "failed": 0 }, "hits": { - "total": { - "value": 1, - "relation": "eq" - }, + "total": 1, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", + "_index": "resources-2018-04-09", + "_type": "resource", "_id": "b12709113", - "_score": 160.23509, + "_score": 858.27045, "_source": { "extent": [ "iv, 350 p. : ill., port. ;" @@ -143,31 +140,23 @@ ] }, "sort": [ - 160.23509, + 858.27045, "b12709113" ], "inner_hits": { "electronicResources": { "hits": { - "total": { - "value": 0, - "relation": "eq" - }, + "total": 0, "max_score": null, "hits": [] } }, "items": { "hits": { - "total": { - "value": 1, - "relation": "eq" - }, + "total": 1, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", - "_id": "b12709113", "_nested": { "field": "items", "offset": 0 diff --git a/test/fixtures/query-2bae88447ac8362f04c272298a2789f0.json b/test/fixtures/query-2bae88447ac8362f04c272298a2789f0.json deleted file mode 100644 index e50fa4dd..00000000 --- a/test/fixtures/query-2bae88447ac8362f04c272298a2789f0.json +++ /dev/null @@ -1,971 +0,0 @@ -{ - "body": { - "took": 108, - "timed_out": false, - "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_score": 26.280298, - "_source": { - "extent": [ - "1234, [1] pages, x leaves : illustrations ;", - "1234, [1] p., x leaves : ill. ;", - "Third description instance : More 3rd instance ;" - ], - "partOf": [ - "In: -- 773 0b" - ], - "nyplSource": [ - "sierra-nypl" - ], - "serialPublicationDates": [ - "Publication Date (unformated) -- 362 1b" - ], - "publisherLiteral": [ - "Specious Publ. [prev.pub.-- 260.2b]", - "CopyCat pub. co. -- 260 bb" - ], - "language": [ - { - "id": "lang:eng", - "label": "English" - } - ], - "createdYear": [ - 201 - ], - "parallelTitle": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "type": [ - "nypl:Item" - ], - "shelfMark": [ - "Q-TAG (852 8b q tag. Staff call in bib.)" - ], - "idLccn": [ - "LCCN -- 010", - "9790001138673", - "ISMN", - "Danacode", - "UPC", - "EAN" - ], - "idIssn": [ - "ISSN -- 022" - ], - "seriesStatement": [ - "440 Series ; v. number -- 440 b0", - "490 Series ; v. number -- 490 0b", - "Author, of series. CMA Test Records. -- 800 1b", - "CMA (Cat). CMA Test Records -- 810 2b " - ], - "dateStartYear": [ - 201 - ], - "parallelCreatorLiteral": [ - "‏גלוגר,מרים פ." - ], - "identifierV2": [ - { - "type": "bf:ShelfMark", - "value": "Q-TAG (852 8b q tag. Staff call in bib.)" - }, - { - "type": "nypl:Bnumber", - "value": "22144813" - }, - { - "type": "bf:Isbn", - "value": "0123456789" - }, - { - "type": "bf:Isbn", - "value": "9780123456786 (qualifier)" - }, - { - "type": "bf:Isbn", - "value": "ISBN -- 020" - }, - { - "type": "bf:Isbn", - "identifierStatus": "canceled/invalid", - "value": "ISBN -- 020 $z" - }, - { - "type": "bf:Lccn", - "value": "LCCN -- 010" - }, - { - "type": "bf:Lccn", - "value": "9790001138673" - }, - { - "type": "bf:Lccn", - "value": "ISMN" - }, - { - "type": "bf:Lccn", - "value": "Danacode" - }, - { - "type": "bf:Lccn", - "value": "UPC" - }, - { - "type": "bf:Lccn", - "value": "EAN" - }, - { - "type": "bf:Issn", - "value": "ISSN -- 022" - }, - { - "type": "bf:Identifier", - "value": "Report number. -- 027" - }, - { - "type": "bf:Identifier", - "value": "Publisher no. -- 028 02 " - }, - { - "type": "bf:Identifier", - "value": "Standard number (old RLIN, etc.) -- 035" - }, - { - "type": "bf:Identifier", - "value": "Sudoc no. -- 086" - }, - { - "type": "bf:Identifier", - "value": "GPO Item number. -- 074" - } - ], - "formerTitle": [ - "Former title -- 247 00" - ], - "updatedAt": 1711656889146, - "publicationStatement": [ - "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", - "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "identifier": [ - "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", - "urn:bnum:22144813", - "urn:isbn:0123456789", - "urn:isbn:9780123456786 (qualifier)", - "urn:isbn:ISBN -- 020", - "urn:isbn:ISBN -- 020 $z", - "urn:lccn:LCCN -- 010", - "urn:lccn:9790001138673", - "urn:lccn:ISMN", - "urn:lccn:Danacode", - "urn:lccn:UPC", - "urn:lccn:EAN", - "urn:issn:ISSN -- 022", - "urn:identifier:Report number. -- 027", - "urn:identifier:Publisher no. -- 028 02 ", - "urn:identifier:Standard number (old RLIN, etc.) -- 035", - "urn:identifier:Sudoc no. -- 086", - "urn:identifier:GPO Item number. -- 074" - ], - "mediaType": [ - { - "id": "mediatypes:n", - "label": "unmediated" - } - ], - "subjectLiteral": [ - "Starving artist -- 600 00.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term -- 653" - ], - "titleAlt": [ - "Abrev. title -- 210 ", - "Key title -- 222 ", - "T tagged 240 Uniform title -- t240", - "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", - "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", - "Portion of title 246 30", - "Parallel title 246 31", - "Distinctive title 246 12", - "Other title 246 13", - "Cover title 246 14", - "Cover title 246 04", - "Added title page title 246 15", - "Running title 246 17", - "Caption title 246 16", - "Spine title 246 18", - "No type of title specified 246 3 blank", - "246 1 blank", - "Zaglavie Russiĭi", - "Added title -- 740 0b" - ], - "tableOfContents": [ - "Complete table of contents. -- 505 0b", - "1. Incomplete table of contents. -- First instance.-- 505 1b", - "2. Incomplete table of contents -- Second instance. 505 1b", - "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", - "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." - ], - "note": [ - { - "noteType": "Note", - "label": "Ordinary note. -- 500", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "²³¹", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "⠀⠀⠀\\___( ツ )___", - "type": "bf:Note" - }, - { - "noteType": "With", - "label": "Bound with note. -- 501", - "type": "bf:Note" - }, - { - "noteType": "Thesis", - "label": "Thesis -- (degree) note. -- 502", - "type": "bf:Note" - }, - { - "noteType": "Bibliography", - "label": "Includes bibliographical references (p. [1235]). -- 504", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Access -- 506 blank,any", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Restricted Access -- 506 1,any", - "type": "bf:Note" - }, - { - "noteType": "Scale", - "label": "Scale (graphic) -- 507", - "type": "bf:Note" - }, - { - "noteType": "Credits", - "label": "Credits (Creation/production credits note) -- 508", - "type": "bf:Note" - }, - { - "noteType": "Performer", - "label": "Cast --511 1b", - "type": "bf:Note" - }, - { - "noteType": "Type of Report", - "label": "Type of Report. -- 513", - "type": "bf:Note" - }, - { - "noteType": "Data Quality", - "label": "Data quality -- 514", - "type": "bf:Note" - }, - { - "noteType": "Numbering", - "label": "Completely irregular. -- 515", - "type": "bf:Note" - }, - { - "noteType": "File Type", - "label": "File type. -- 516", - "type": "bf:Note" - }, - { - "noteType": "Event", - "label": "Event. -- 518", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience (2): Test of 2nd 521 field.", - "type": "bf:Note" - }, - { - "noteType": "Coverage", - "label": "Coverage -- 522", - "type": "bf:Note" - }, - { - "noteType": "Cite As", - "label": "Cite as: The Mega-MARC test record. -- 524", - "type": "bf:Note" - }, - { - "noteType": "Supplement", - "label": "Supplement -- 525", - "type": "bf:Note" - }, - { - "noteType": "Study Program", - "label": "Study program -- 526 8b ", - "type": "bf:Note" - }, - { - "noteType": "Additional Formats", - "label": "Other test records available. -- 530", - "type": "bf:Note" - }, - { - "noteType": "Reproduction", - "label": "Microfilm.", - "type": "bf:Note" - }, - { - "noteType": "Original Location", - "label": "Original location in SASB -- 535", - "type": "bf:Note" - }, - { - "noteType": "Funding", - "label": "Funding -- 536", - "type": "bf:Note" - }, - { - "noteType": "System Details", - "label": "System Details -- 538", - "type": "bf:Note" - }, - { - "noteType": "Terms of Use", - "label": "Use as test record -- 540", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source display-- 5411b", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", - "type": "bf:Note" - }, - { - "noteType": "Location of Other Archival Materials", - "label": "Location of Other Archival Materials -- 544", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 545", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 5451 Administrative history", - "type": "bf:Note" - }, - { - "noteType": "Language", - "label": "In English and non-roman scripts. -- 546", - "type": "bf:Note" - }, - { - "noteType": "Former Title", - "label": "Former title (complexity note) -- 547", - "type": "bf:Note" - }, - { - "noteType": "Issued By", - "label": "Issued by CCO -- 550", - "type": "bf:Note" - }, - { - "noteType": "Indexes/Finding Aids", - "label": "Indexes -- 555 bb", - "type": "bf:Note" - }, - { - "noteType": "Documentation", - "label": "Documentation (information about, note) -- 556", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance display --5611b", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", - "type": "bf:Note" - }, - { - "noteType": "Copy/Version", - "label": "Copy/Version (identification note) -- 562", - "type": "bf:Note" - }, - { - "noteType": "Binding", - "label": "Binding -- 563", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Complemented by Linking entry: Bogus title -- 580", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Linking Entry (complexity note) -- 580", - "type": "bf:Note" - }, - { - "noteType": "Publications", - "label": "Publications (about described material note) -- 581", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action display --583 1b", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", - "type": "bf:Note" - }, - { - "noteType": "Exhibitions", - "label": "Exhibitions -- 585", - "type": "bf:Note" - }, - { - "noteType": "Awards", - "label": "Awards -- 586", - "type": "bf:Note" - }, - { - "noteType": "Source of Description", - "label": "Latest issue consulted: 1900/1901. -- 588 1b", - "type": "bf:Note" - } - ], - "subjectLiteral_exploded": [ - "Starving artist", - "Starving artist -- 600 00", - "Artist, Starving, 1900-1999", - "Artist, Starving, 1900-1999 -- Autobiography.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject.", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers", - "Secret Society of Catalogers -- Periodicals.", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield", - "testing x as first subfield -- testing v as second subfield.", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", - "Conference subject entry.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield)", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g", - "testing 4 testing a testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title", - "Life is a common square.", - "Life is a common square. -- Criticism.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g", - "testing 4 testing a testing d testing e testing g -- testing v", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting", - "Textile industry testing datetesting -- 650 b0 $z, $x", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e", - "testing 4 testing a testing b testing c testing d testing e -- testing v", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.)", - "New York (N.Y.) -- 21st century", - "New York (N.Y.) -- 21st century -- Diaries.", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country.", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g", - "testing 4 testing a testing e testing g -- testing v", - "testing 4 testing a testing e testing g -- testing v -- testing x", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term", - "Indexed term -- 653" - ], - "numItemDatesParsed": [ - 0 - ], - "description": [ - "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", - "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" - ], - "numItemsTotal": [ - 2 - ], - "dateEndString": [ - "2011" - ], - "title": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" - ], - "numItemVolumesParsed": [ - 1 - ], - "createdString": [ - "201" - ], - "creatorLiteral": [ - "Gloger, Miriam.", - "BookOps. Cataloging. --110 2b ab.", - "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" - ], - "numElectronicResources": [ - 4 - ], - "contributorLiteral": [ - "Cramer, Richard, 1948-.", - "Cramer, Richard, 1948-", - "Bayer, Jeffrey.", - "Bayer, Jeffrey", - "New York Public Library Database Management Group. -- 710 2b", - "Conference added author. 711 2b", - "Added entry (uncontrolled name) -- 7201", - "Cramer, Richard, 1948- fmo", - "Virtual collection -- 791 2b" - ], - "donor": [ - "Donor / Sponsor -- 799 bb" - ], - "uniformTitle": [ - "T tagged 240 Uniform title -- t240", - "Added title -- 730 0b", - "CMA Test Records -- 830 b0" - ], - "dateEndYear": [ - 2011 - ], - "parallelTitleAlt": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "зглавие руссий" - ], - "genreForm": [ - "Genre heading.", - "Blank pages and looks – Someplace – 1990.", - "testing a – testing b – testing c – testing v – testing x – testing y – testing z" - ], - "idIsbn": [ - "0123456789", - "9780123456786 (qualifier)", - "ISBN -- 020" - ], - "numCheckinCardItems": [ - 0 - ], - "materialType": [ - { - "id": "resourcetypes:txt", - "label": "Text" - } - ], - "carrierType": [ - { - "id": "carriertypes:nc", - "label": "volume" - } - ], - "dateString": [ - "201" - ], - "titleDisplay": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." - ], - "uri": "b22144813", - "electronicResources": [ - { - "label": "856 40", - "url": "http://blogs.nypl.org/rcramer/" - }, - { - "label": "Yizkor Book (NYPL resource) 856 41", - "url": "http://yizkor.nypl.org/index.php?id=2936" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" - } - ], - "parallelTitleDisplay": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "placeOfPublication": [ - "[s.l.]", - "Long Island CIty, N.Y.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "issuance": [ - { - "id": "urn:biblevel:m", - "label": "monograph/item" - } - ], - "supplementaryContent": [ - { - "label": "Contents", - "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" - } - ], - "dimensions": [ - "26 cm +", - "26 cm. +", - "More 3rd instance -- 300 (3rd instance)" - ], - "idIsbn_clean": [ - "0123456789", - "9780123456786", - "020" - ] - }, - "sort": [ - 26.280298, - "b22144813" - ], - "inner_hits": { - "electronicResources": { - "hits": { - "total": { - "value": 0, - "relation": "eq" - }, - "max_score": null, - "hits": [] - } - }, - "items": { - "hits": { - "total": { - "value": 2, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 0 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:1", - "label": "Use in library" - } - ], - "accessMessage_packed": [ - "accessMessage:1||Use in library" - ], - "catalogItemType": [ - { - "id": "catalogItemType:2", - "label": "book non-circ" - } - ], - "catalogItemType_packed": [ - "catalogItemType:2||book non-circ" - ], - "enumerationChronology": [ - "v.1" - ], - "enumerationChronology_sort": [ - " 1-" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:mall1", - "label": "Schwarzman Building - Main Reading Room 315 - Reference" - } - ], - "holdingLocation_packed": [ - "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" - ], - "idBarcode": [ - "3333333333" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "urn:barcode:3333333333" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "type": "bf:ShelfMark" - }, - { - "value": "3333333333", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1101", - "label": "General Research Division" - } - ], - "owner_packed": [ - "orgs:1101||General Research Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - false - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", - "status": [ - { - "id": "status:k", - "label": "Check with staff" - } - ], - "status_packed": [ - "status:k||Check with staff" - ], - "type": [ - "bf:Item" - ], - "volumeRange": [ - { - "gte": 1, - "lte": 1 - } - ], - "uri": "i37857771" - }, - "sort": [ - " 1-" - ] - }, - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 1 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:2", - "label": "Request in advance" - } - ], - "accessMessage_packed": [ - "accessMessage:2||Request in advance" - ], - "catalogItemType": [ - { - "id": "catalogItemType:3", - "label": "serial" - } - ], - "catalogItemType_packed": [ - "catalogItemType:3||serial" - ], - "enumerationChronology": [ - "nothing" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:rcmf2", - "label": "Offsite" - } - ], - "holdingLocation_packed": [ - "loc:rcmf2||Offsite" - ], - "idBarcode": [ - "44455533322211" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "urn:barcode:44455533322211" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "type": "bf:ShelfMark" - }, - { - "value": "44455533322211", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1103", - "label": "Dorot Jewish Division" - } - ], - "owner_packed": [ - "orgs:1103||Dorot Jewish Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - true - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "status": [ - { - "id": "status:a", - "label": "Available" - } - ], - "status_packed": [ - "status:a||Available" - ], - "type": [ - "bf:Item" - ], - "uri": "i37857772" - }, - "sort": [ - null - ] - } - ] - } - } - } - } - ] - } - }, - "statusCode": 200 -} \ No newline at end of file diff --git a/test/fixtures/query-31004cf6d8e572751c24baf7d7e963b7.json b/test/fixtures/query-3dec71921670299556506bfc7f2408c0.json similarity index 98% rename from test/fixtures/query-31004cf6d8e572751c24baf7d7e963b7.json rename to test/fixtures/query-3dec71921670299556506bfc7f2408c0.json index 3dbb79b1..17250ed8 100644 --- a/test/fixtures/query-31004cf6d8e572751c24baf7d7e963b7.json +++ b/test/fixtures/query-3dec71921670299556506bfc7f2408c0.json @@ -1,24 +1,21 @@ { "body": { - "took": 55, + "took": 612, "timed_out": false, "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, + "total": 3, + "successful": 3, "failed": 0 }, "hits": { - "total": { - "value": 1, - "relation": "eq" - }, + "total": 1, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", + "_index": "resources-2018-04-09", + "_type": "resource", "_id": "b22144813", - "_score": 18.592264, + "_score": 18.586823, "_source": { "extent": [ "1234, [1] pages, x leaves : illustrations ;", @@ -736,31 +733,23 @@ ] }, "sort": [ - 18.592264, + 18.586823, "b22144813" ], "inner_hits": { "electronicResources": { "hits": { - "total": { - "value": 0, - "relation": "eq" - }, + "total": 0, "max_score": null, "hits": [] } }, "items": { "hits": { - "total": { - "value": 2, - "relation": "eq" - }, + "total": 2, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", - "_id": "b22144813", "_nested": { "field": "items", "offset": 0 @@ -864,8 +853,6 @@ ] }, { - "_index": "resources-2024-06-07", - "_id": "b22144813", "_nested": { "field": "items", "offset": 1 diff --git a/test/fixtures/query-46a2a9ec36a3466501827309ff823f0a.json b/test/fixtures/query-46a2a9ec36a3466501827309ff823f0a.json deleted file mode 100644 index 9b9e56ed..00000000 --- a/test/fixtures/query-46a2a9ec36a3466501827309ff823f0a.json +++ /dev/null @@ -1,971 +0,0 @@ -{ - "body": { - "took": 12, - "timed_out": false, - "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_score": 26.280298, - "_source": { - "extent": [ - "1234, [1] pages, x leaves : illustrations ;", - "1234, [1] p., x leaves : ill. ;", - "Third description instance : More 3rd instance ;" - ], - "partOf": [ - "In: -- 773 0b" - ], - "nyplSource": [ - "sierra-nypl" - ], - "serialPublicationDates": [ - "Publication Date (unformated) -- 362 1b" - ], - "publisherLiteral": [ - "Specious Publ. [prev.pub.-- 260.2b]", - "CopyCat pub. co. -- 260 bb" - ], - "language": [ - { - "id": "lang:eng", - "label": "English" - } - ], - "createdYear": [ - 201 - ], - "parallelTitle": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "type": [ - "nypl:Item" - ], - "shelfMark": [ - "Q-TAG (852 8b q tag. Staff call in bib.)" - ], - "idLccn": [ - "LCCN -- 010", - "9790001138673", - "ISMN", - "Danacode", - "UPC", - "EAN" - ], - "idIssn": [ - "ISSN -- 022" - ], - "seriesStatement": [ - "440 Series ; v. number -- 440 b0", - "490 Series ; v. number -- 490 0b", - "Author, of series. CMA Test Records. -- 800 1b", - "CMA (Cat). CMA Test Records -- 810 2b " - ], - "dateStartYear": [ - 201 - ], - "parallelCreatorLiteral": [ - "‏גלוגר,מרים פ." - ], - "identifierV2": [ - { - "type": "bf:ShelfMark", - "value": "Q-TAG (852 8b q tag. Staff call in bib.)" - }, - { - "type": "nypl:Bnumber", - "value": "22144813" - }, - { - "type": "bf:Isbn", - "value": "0123456789" - }, - { - "type": "bf:Isbn", - "value": "9780123456786 (qualifier)" - }, - { - "type": "bf:Isbn", - "value": "ISBN -- 020" - }, - { - "type": "bf:Isbn", - "identifierStatus": "canceled/invalid", - "value": "ISBN -- 020 $z" - }, - { - "type": "bf:Lccn", - "value": "LCCN -- 010" - }, - { - "type": "bf:Lccn", - "value": "9790001138673" - }, - { - "type": "bf:Lccn", - "value": "ISMN" - }, - { - "type": "bf:Lccn", - "value": "Danacode" - }, - { - "type": "bf:Lccn", - "value": "UPC" - }, - { - "type": "bf:Lccn", - "value": "EAN" - }, - { - "type": "bf:Issn", - "value": "ISSN -- 022" - }, - { - "type": "bf:Identifier", - "value": "Report number. -- 027" - }, - { - "type": "bf:Identifier", - "value": "Publisher no. -- 028 02 " - }, - { - "type": "bf:Identifier", - "value": "Standard number (old RLIN, etc.) -- 035" - }, - { - "type": "bf:Identifier", - "value": "Sudoc no. -- 086" - }, - { - "type": "bf:Identifier", - "value": "GPO Item number. -- 074" - } - ], - "formerTitle": [ - "Former title -- 247 00" - ], - "updatedAt": 1711656889146, - "publicationStatement": [ - "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", - "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "identifier": [ - "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", - "urn:bnum:22144813", - "urn:isbn:0123456789", - "urn:isbn:9780123456786 (qualifier)", - "urn:isbn:ISBN -- 020", - "urn:isbn:ISBN -- 020 $z", - "urn:lccn:LCCN -- 010", - "urn:lccn:9790001138673", - "urn:lccn:ISMN", - "urn:lccn:Danacode", - "urn:lccn:UPC", - "urn:lccn:EAN", - "urn:issn:ISSN -- 022", - "urn:identifier:Report number. -- 027", - "urn:identifier:Publisher no. -- 028 02 ", - "urn:identifier:Standard number (old RLIN, etc.) -- 035", - "urn:identifier:Sudoc no. -- 086", - "urn:identifier:GPO Item number. -- 074" - ], - "mediaType": [ - { - "id": "mediatypes:n", - "label": "unmediated" - } - ], - "subjectLiteral": [ - "Starving artist -- 600 00.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term -- 653" - ], - "titleAlt": [ - "Abrev. title -- 210 ", - "Key title -- 222 ", - "T tagged 240 Uniform title -- t240", - "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", - "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", - "Portion of title 246 30", - "Parallel title 246 31", - "Distinctive title 246 12", - "Other title 246 13", - "Cover title 246 14", - "Cover title 246 04", - "Added title page title 246 15", - "Running title 246 17", - "Caption title 246 16", - "Spine title 246 18", - "No type of title specified 246 3 blank", - "246 1 blank", - "Zaglavie Russiĭi", - "Added title -- 740 0b" - ], - "tableOfContents": [ - "Complete table of contents. -- 505 0b", - "1. Incomplete table of contents. -- First instance.-- 505 1b", - "2. Incomplete table of contents -- Second instance. 505 1b", - "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", - "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." - ], - "note": [ - { - "noteType": "Note", - "label": "Ordinary note. -- 500", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "²³¹", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "⠀⠀⠀\\___( ツ )___", - "type": "bf:Note" - }, - { - "noteType": "With", - "label": "Bound with note. -- 501", - "type": "bf:Note" - }, - { - "noteType": "Thesis", - "label": "Thesis -- (degree) note. -- 502", - "type": "bf:Note" - }, - { - "noteType": "Bibliography", - "label": "Includes bibliographical references (p. [1235]). -- 504", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Access -- 506 blank,any", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Restricted Access -- 506 1,any", - "type": "bf:Note" - }, - { - "noteType": "Scale", - "label": "Scale (graphic) -- 507", - "type": "bf:Note" - }, - { - "noteType": "Credits", - "label": "Credits (Creation/production credits note) -- 508", - "type": "bf:Note" - }, - { - "noteType": "Performer", - "label": "Cast --511 1b", - "type": "bf:Note" - }, - { - "noteType": "Type of Report", - "label": "Type of Report. -- 513", - "type": "bf:Note" - }, - { - "noteType": "Data Quality", - "label": "Data quality -- 514", - "type": "bf:Note" - }, - { - "noteType": "Numbering", - "label": "Completely irregular. -- 515", - "type": "bf:Note" - }, - { - "noteType": "File Type", - "label": "File type. -- 516", - "type": "bf:Note" - }, - { - "noteType": "Event", - "label": "Event. -- 518", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience (2): Test of 2nd 521 field.", - "type": "bf:Note" - }, - { - "noteType": "Coverage", - "label": "Coverage -- 522", - "type": "bf:Note" - }, - { - "noteType": "Cite As", - "label": "Cite as: The Mega-MARC test record. -- 524", - "type": "bf:Note" - }, - { - "noteType": "Supplement", - "label": "Supplement -- 525", - "type": "bf:Note" - }, - { - "noteType": "Study Program", - "label": "Study program -- 526 8b ", - "type": "bf:Note" - }, - { - "noteType": "Additional Formats", - "label": "Other test records available. -- 530", - "type": "bf:Note" - }, - { - "noteType": "Reproduction", - "label": "Microfilm.", - "type": "bf:Note" - }, - { - "noteType": "Original Location", - "label": "Original location in SASB -- 535", - "type": "bf:Note" - }, - { - "noteType": "Funding", - "label": "Funding -- 536", - "type": "bf:Note" - }, - { - "noteType": "System Details", - "label": "System Details -- 538", - "type": "bf:Note" - }, - { - "noteType": "Terms of Use", - "label": "Use as test record -- 540", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source display-- 5411b", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", - "type": "bf:Note" - }, - { - "noteType": "Location of Other Archival Materials", - "label": "Location of Other Archival Materials -- 544", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 545", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 5451 Administrative history", - "type": "bf:Note" - }, - { - "noteType": "Language", - "label": "In English and non-roman scripts. -- 546", - "type": "bf:Note" - }, - { - "noteType": "Former Title", - "label": "Former title (complexity note) -- 547", - "type": "bf:Note" - }, - { - "noteType": "Issued By", - "label": "Issued by CCO -- 550", - "type": "bf:Note" - }, - { - "noteType": "Indexes/Finding Aids", - "label": "Indexes -- 555 bb", - "type": "bf:Note" - }, - { - "noteType": "Documentation", - "label": "Documentation (information about, note) -- 556", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance display --5611b", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", - "type": "bf:Note" - }, - { - "noteType": "Copy/Version", - "label": "Copy/Version (identification note) -- 562", - "type": "bf:Note" - }, - { - "noteType": "Binding", - "label": "Binding -- 563", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Complemented by Linking entry: Bogus title -- 580", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Linking Entry (complexity note) -- 580", - "type": "bf:Note" - }, - { - "noteType": "Publications", - "label": "Publications (about described material note) -- 581", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action display --583 1b", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", - "type": "bf:Note" - }, - { - "noteType": "Exhibitions", - "label": "Exhibitions -- 585", - "type": "bf:Note" - }, - { - "noteType": "Awards", - "label": "Awards -- 586", - "type": "bf:Note" - }, - { - "noteType": "Source of Description", - "label": "Latest issue consulted: 1900/1901. -- 588 1b", - "type": "bf:Note" - } - ], - "subjectLiteral_exploded": [ - "Starving artist", - "Starving artist -- 600 00", - "Artist, Starving, 1900-1999", - "Artist, Starving, 1900-1999 -- Autobiography.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject.", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers", - "Secret Society of Catalogers -- Periodicals.", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield", - "testing x as first subfield -- testing v as second subfield.", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", - "Conference subject entry.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield)", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g", - "testing 4 testing a testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title", - "Life is a common square.", - "Life is a common square. -- Criticism.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g", - "testing 4 testing a testing d testing e testing g -- testing v", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting", - "Textile industry testing datetesting -- 650 b0 $z, $x", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e", - "testing 4 testing a testing b testing c testing d testing e -- testing v", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.)", - "New York (N.Y.) -- 21st century", - "New York (N.Y.) -- 21st century -- Diaries.", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country.", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g", - "testing 4 testing a testing e testing g -- testing v", - "testing 4 testing a testing e testing g -- testing v -- testing x", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term", - "Indexed term -- 653" - ], - "numItemDatesParsed": [ - 0 - ], - "description": [ - "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", - "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" - ], - "numItemsTotal": [ - 2 - ], - "dateEndString": [ - "2011" - ], - "title": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" - ], - "numItemVolumesParsed": [ - 1 - ], - "createdString": [ - "201" - ], - "creatorLiteral": [ - "Gloger, Miriam.", - "BookOps. Cataloging. --110 2b ab.", - "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" - ], - "numElectronicResources": [ - 4 - ], - "contributorLiteral": [ - "Cramer, Richard, 1948-.", - "Cramer, Richard, 1948-", - "Bayer, Jeffrey.", - "Bayer, Jeffrey", - "New York Public Library Database Management Group. -- 710 2b", - "Conference added author. 711 2b", - "Added entry (uncontrolled name) -- 7201", - "Cramer, Richard, 1948- fmo", - "Virtual collection -- 791 2b" - ], - "donor": [ - "Donor / Sponsor -- 799 bb" - ], - "uniformTitle": [ - "T tagged 240 Uniform title -- t240", - "Added title -- 730 0b", - "CMA Test Records -- 830 b0" - ], - "dateEndYear": [ - 2011 - ], - "parallelTitleAlt": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "зглавие руссий" - ], - "genreForm": [ - "Genre heading.", - "Blank pages and looks – Someplace – 1990.", - "testing a – testing b – testing c – testing v – testing x – testing y – testing z" - ], - "idIsbn": [ - "0123456789", - "9780123456786 (qualifier)", - "ISBN -- 020" - ], - "numCheckinCardItems": [ - 0 - ], - "materialType": [ - { - "id": "resourcetypes:txt", - "label": "Text" - } - ], - "carrierType": [ - { - "id": "carriertypes:nc", - "label": "volume" - } - ], - "dateString": [ - "201" - ], - "titleDisplay": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." - ], - "uri": "b22144813", - "electronicResources": [ - { - "label": "856 40", - "url": "http://blogs.nypl.org/rcramer/" - }, - { - "label": "Yizkor Book (NYPL resource) 856 41", - "url": "http://yizkor.nypl.org/index.php?id=2936" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" - } - ], - "parallelTitleDisplay": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "placeOfPublication": [ - "[s.l.]", - "Long Island CIty, N.Y.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "issuance": [ - { - "id": "urn:biblevel:m", - "label": "monograph/item" - } - ], - "supplementaryContent": [ - { - "label": "Contents", - "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" - } - ], - "dimensions": [ - "26 cm +", - "26 cm. +", - "More 3rd instance -- 300 (3rd instance)" - ], - "idIsbn_clean": [ - "0123456789", - "9780123456786", - "020" - ] - }, - "sort": [ - 26.280298, - "b22144813" - ], - "inner_hits": { - "electronicResources": { - "hits": { - "total": { - "value": 0, - "relation": "eq" - }, - "max_score": null, - "hits": [] - } - }, - "items": { - "hits": { - "total": { - "value": 2, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 0 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:1", - "label": "Use in library" - } - ], - "accessMessage_packed": [ - "accessMessage:1||Use in library" - ], - "catalogItemType": [ - { - "id": "catalogItemType:2", - "label": "book non-circ" - } - ], - "catalogItemType_packed": [ - "catalogItemType:2||book non-circ" - ], - "enumerationChronology": [ - "v.1" - ], - "enumerationChronology_sort": [ - " 1-" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:mall1", - "label": "Schwarzman Building - Main Reading Room 315 - Reference" - } - ], - "holdingLocation_packed": [ - "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" - ], - "idBarcode": [ - "3333333333" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "urn:barcode:3333333333" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "type": "bf:ShelfMark" - }, - { - "value": "3333333333", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1101", - "label": "General Research Division" - } - ], - "owner_packed": [ - "orgs:1101||General Research Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - false - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", - "status": [ - { - "id": "status:k", - "label": "Check with staff" - } - ], - "status_packed": [ - "status:k||Check with staff" - ], - "type": [ - "bf:Item" - ], - "volumeRange": [ - { - "gte": 1, - "lte": 1 - } - ], - "uri": "i37857771" - }, - "sort": [ - " 1-" - ] - }, - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 1 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:2", - "label": "Request in advance" - } - ], - "accessMessage_packed": [ - "accessMessage:2||Request in advance" - ], - "catalogItemType": [ - { - "id": "catalogItemType:3", - "label": "serial" - } - ], - "catalogItemType_packed": [ - "catalogItemType:3||serial" - ], - "enumerationChronology": [ - "nothing" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:rcmf2", - "label": "Offsite" - } - ], - "holdingLocation_packed": [ - "loc:rcmf2||Offsite" - ], - "idBarcode": [ - "44455533322211" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "urn:barcode:44455533322211" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "type": "bf:ShelfMark" - }, - { - "value": "44455533322211", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1103", - "label": "Dorot Jewish Division" - } - ], - "owner_packed": [ - "orgs:1103||Dorot Jewish Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - true - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "status": [ - { - "id": "status:a", - "label": "Available" - } - ], - "status_packed": [ - "status:a||Available" - ], - "type": [ - "bf:Item" - ], - "uri": "i37857772" - }, - "sort": [ - null - ] - } - ] - } - } - } - } - ] - } - }, - "statusCode": 200 -} \ No newline at end of file diff --git a/test/fixtures/query-714d151f51e0ab49039161a3e4aedf8d.json b/test/fixtures/query-714d151f51e0ab49039161a3e4aedf8d.json new file mode 100644 index 00000000..e50ca01f --- /dev/null +++ b/test/fixtures/query-714d151f51e0ab49039161a3e4aedf8d.json @@ -0,0 +1,958 @@ +{ + "body": { + "took": 382, + "timed_out": false, + "_shards": { + "total": 3, + "successful": 3, + "failed": 0 + }, + "hits": { + "total": 1, + "max_score": null, + "hits": [ + { + "_index": "resources-2018-04-09", + "_type": "resource", + "_id": "b22144813", + "_score": 32.66396, + "_source": { + "extent": [ + "1234, [1] pages, x leaves : illustrations ;", + "1234, [1] p., x leaves : ill. ;", + "Third description instance : More 3rd instance ;" + ], + "partOf": [ + "In: -- 773 0b" + ], + "nyplSource": [ + "sierra-nypl" + ], + "serialPublicationDates": [ + "Publication Date (unformated) -- 362 1b" + ], + "publisherLiteral": [ + "Specious Publ. [prev.pub.-- 260.2b]", + "CopyCat pub. co. -- 260 bb" + ], + "language": [ + { + "id": "lang:eng", + "label": "English" + } + ], + "createdYear": [ + 201 + ], + "parallelTitle": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "type": [ + "nypl:Item" + ], + "shelfMark": [ + "Q-TAG (852 8b q tag. Staff call in bib.)" + ], + "idLccn": [ + "LCCN -- 010", + "9790001138673", + "ISMN", + "Danacode", + "UPC", + "EAN" + ], + "idIssn": [ + "ISSN -- 022" + ], + "seriesStatement": [ + "440 Series ; v. number -- 440 b0", + "490 Series ; v. number -- 490 0b", + "Author, of series. CMA Test Records. -- 800 1b", + "CMA (Cat). CMA Test Records -- 810 2b " + ], + "dateStartYear": [ + 201 + ], + "parallelCreatorLiteral": [ + "‏גלוגר,מרים פ." + ], + "identifierV2": [ + { + "type": "bf:ShelfMark", + "value": "Q-TAG (852 8b q tag. Staff call in bib.)" + }, + { + "type": "nypl:Bnumber", + "value": "22144813" + }, + { + "type": "bf:Isbn", + "value": "0123456789" + }, + { + "type": "bf:Isbn", + "value": "9780123456786 (qualifier)" + }, + { + "type": "bf:Isbn", + "value": "ISBN -- 020" + }, + { + "type": "bf:Isbn", + "identifierStatus": "canceled/invalid", + "value": "ISBN -- 020 $z" + }, + { + "type": "bf:Lccn", + "value": "LCCN -- 010" + }, + { + "type": "bf:Lccn", + "value": "9790001138673" + }, + { + "type": "bf:Lccn", + "value": "ISMN" + }, + { + "type": "bf:Lccn", + "value": "Danacode" + }, + { + "type": "bf:Lccn", + "value": "UPC" + }, + { + "type": "bf:Lccn", + "value": "EAN" + }, + { + "type": "bf:Issn", + "value": "ISSN -- 022" + }, + { + "type": "bf:Identifier", + "value": "Report number. -- 027" + }, + { + "type": "bf:Identifier", + "value": "Publisher no. -- 028 02 " + }, + { + "type": "bf:Identifier", + "value": "Standard number (old RLIN, etc.) -- 035" + }, + { + "type": "bf:Identifier", + "value": "Sudoc no. -- 086" + }, + { + "type": "bf:Identifier", + "value": "GPO Item number. -- 074" + } + ], + "formerTitle": [ + "Former title -- 247 00" + ], + "updatedAt": 1711656889146, + "publicationStatement": [ + "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", + "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "identifier": [ + "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", + "urn:bnum:22144813", + "urn:isbn:0123456789", + "urn:isbn:9780123456786 (qualifier)", + "urn:isbn:ISBN -- 020", + "urn:isbn:ISBN -- 020 $z", + "urn:lccn:LCCN -- 010", + "urn:lccn:9790001138673", + "urn:lccn:ISMN", + "urn:lccn:Danacode", + "urn:lccn:UPC", + "urn:lccn:EAN", + "urn:issn:ISSN -- 022", + "urn:identifier:Report number. -- 027", + "urn:identifier:Publisher no. -- 028 02 ", + "urn:identifier:Standard number (old RLIN, etc.) -- 035", + "urn:identifier:Sudoc no. -- 086", + "urn:identifier:GPO Item number. -- 074" + ], + "mediaType": [ + { + "id": "mediatypes:n", + "label": "unmediated" + } + ], + "subjectLiteral": [ + "Starving artist -- 600 00.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term -- 653" + ], + "titleAlt": [ + "Abrev. title -- 210 ", + "Key title -- 222 ", + "T tagged 240 Uniform title -- t240", + "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", + "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", + "Portion of title 246 30", + "Parallel title 246 31", + "Distinctive title 246 12", + "Other title 246 13", + "Cover title 246 14", + "Cover title 246 04", + "Added title page title 246 15", + "Running title 246 17", + "Caption title 246 16", + "Spine title 246 18", + "No type of title specified 246 3 blank", + "246 1 blank", + "Zaglavie Russiĭi", + "Added title -- 740 0b" + ], + "tableOfContents": [ + "Complete table of contents. -- 505 0b", + "1. Incomplete table of contents. -- First instance.-- 505 1b", + "2. Incomplete table of contents -- Second instance. 505 1b", + "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", + "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." + ], + "note": [ + { + "noteType": "Note", + "label": "Ordinary note. -- 500", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "²³¹", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "⠀⠀⠀\\___( ツ )___", + "type": "bf:Note" + }, + { + "noteType": "With", + "label": "Bound with note. -- 501", + "type": "bf:Note" + }, + { + "noteType": "Thesis", + "label": "Thesis -- (degree) note. -- 502", + "type": "bf:Note" + }, + { + "noteType": "Bibliography", + "label": "Includes bibliographical references (p. [1235]). -- 504", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Access -- 506 blank,any", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Restricted Access -- 506 1,any", + "type": "bf:Note" + }, + { + "noteType": "Scale", + "label": "Scale (graphic) -- 507", + "type": "bf:Note" + }, + { + "noteType": "Credits", + "label": "Credits (Creation/production credits note) -- 508", + "type": "bf:Note" + }, + { + "noteType": "Performer", + "label": "Cast --511 1b", + "type": "bf:Note" + }, + { + "noteType": "Type of Report", + "label": "Type of Report. -- 513", + "type": "bf:Note" + }, + { + "noteType": "Data Quality", + "label": "Data quality -- 514", + "type": "bf:Note" + }, + { + "noteType": "Numbering", + "label": "Completely irregular. -- 515", + "type": "bf:Note" + }, + { + "noteType": "File Type", + "label": "File type. -- 516", + "type": "bf:Note" + }, + { + "noteType": "Event", + "label": "Event. -- 518", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience (2): Test of 2nd 521 field.", + "type": "bf:Note" + }, + { + "noteType": "Coverage", + "label": "Coverage -- 522", + "type": "bf:Note" + }, + { + "noteType": "Cite As", + "label": "Cite as: The Mega-MARC test record. -- 524", + "type": "bf:Note" + }, + { + "noteType": "Supplement", + "label": "Supplement -- 525", + "type": "bf:Note" + }, + { + "noteType": "Study Program", + "label": "Study program -- 526 8b ", + "type": "bf:Note" + }, + { + "noteType": "Additional Formats", + "label": "Other test records available. -- 530", + "type": "bf:Note" + }, + { + "noteType": "Reproduction", + "label": "Microfilm.", + "type": "bf:Note" + }, + { + "noteType": "Original Location", + "label": "Original location in SASB -- 535", + "type": "bf:Note" + }, + { + "noteType": "Funding", + "label": "Funding -- 536", + "type": "bf:Note" + }, + { + "noteType": "System Details", + "label": "System Details -- 538", + "type": "bf:Note" + }, + { + "noteType": "Terms of Use", + "label": "Use as test record -- 540", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source display-- 5411b", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", + "type": "bf:Note" + }, + { + "noteType": "Location of Other Archival Materials", + "label": "Location of Other Archival Materials -- 544", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 545", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 5451 Administrative history", + "type": "bf:Note" + }, + { + "noteType": "Language", + "label": "In English and non-roman scripts. -- 546", + "type": "bf:Note" + }, + { + "noteType": "Former Title", + "label": "Former title (complexity note) -- 547", + "type": "bf:Note" + }, + { + "noteType": "Issued By", + "label": "Issued by CCO -- 550", + "type": "bf:Note" + }, + { + "noteType": "Indexes/Finding Aids", + "label": "Indexes -- 555 bb", + "type": "bf:Note" + }, + { + "noteType": "Documentation", + "label": "Documentation (information about, note) -- 556", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance display --5611b", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", + "type": "bf:Note" + }, + { + "noteType": "Copy/Version", + "label": "Copy/Version (identification note) -- 562", + "type": "bf:Note" + }, + { + "noteType": "Binding", + "label": "Binding -- 563", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Complemented by Linking entry: Bogus title -- 580", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Linking Entry (complexity note) -- 580", + "type": "bf:Note" + }, + { + "noteType": "Publications", + "label": "Publications (about described material note) -- 581", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action display --583 1b", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", + "type": "bf:Note" + }, + { + "noteType": "Exhibitions", + "label": "Exhibitions -- 585", + "type": "bf:Note" + }, + { + "noteType": "Awards", + "label": "Awards -- 586", + "type": "bf:Note" + }, + { + "noteType": "Source of Description", + "label": "Latest issue consulted: 1900/1901. -- 588 1b", + "type": "bf:Note" + } + ], + "subjectLiteral_exploded": [ + "Starving artist", + "Starving artist -- 600 00", + "Artist, Starving, 1900-1999", + "Artist, Starving, 1900-1999 -- Autobiography.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject.", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers", + "Secret Society of Catalogers -- Periodicals.", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield", + "testing x as first subfield -- testing v as second subfield.", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", + "Conference subject entry.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield)", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g", + "testing 4 testing a testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title", + "Life is a common square.", + "Life is a common square. -- Criticism.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g", + "testing 4 testing a testing d testing e testing g -- testing v", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting", + "Textile industry testing datetesting -- 650 b0 $z, $x", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e", + "testing 4 testing a testing b testing c testing d testing e -- testing v", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.)", + "New York (N.Y.) -- 21st century", + "New York (N.Y.) -- 21st century -- Diaries.", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country.", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g", + "testing 4 testing a testing e testing g -- testing v", + "testing 4 testing a testing e testing g -- testing v -- testing x", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term", + "Indexed term -- 653" + ], + "numItemDatesParsed": [ + 0 + ], + "description": [ + "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", + "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" + ], + "numItemsTotal": [ + 2 + ], + "dateEndString": [ + "2011" + ], + "title": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" + ], + "numItemVolumesParsed": [ + 1 + ], + "createdString": [ + "201" + ], + "creatorLiteral": [ + "Gloger, Miriam.", + "BookOps. Cataloging. --110 2b ab.", + "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" + ], + "numElectronicResources": [ + 4 + ], + "contributorLiteral": [ + "Cramer, Richard, 1948-.", + "Cramer, Richard, 1948-", + "Bayer, Jeffrey.", + "Bayer, Jeffrey", + "New York Public Library Database Management Group. -- 710 2b", + "Conference added author. 711 2b", + "Added entry (uncontrolled name) -- 7201", + "Cramer, Richard, 1948- fmo", + "Virtual collection -- 791 2b" + ], + "donor": [ + "Donor / Sponsor -- 799 bb" + ], + "uniformTitle": [ + "T tagged 240 Uniform title -- t240", + "Added title -- 730 0b", + "CMA Test Records -- 830 b0" + ], + "dateEndYear": [ + 2011 + ], + "parallelTitleAlt": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "зглавие руссий" + ], + "genreForm": [ + "Genre heading.", + "Blank pages and looks – Someplace – 1990.", + "testing a – testing b – testing c – testing v – testing x – testing y – testing z" + ], + "idIsbn": [ + "0123456789", + "9780123456786 (qualifier)", + "ISBN -- 020" + ], + "numCheckinCardItems": [ + 0 + ], + "materialType": [ + { + "id": "resourcetypes:txt", + "label": "Text" + } + ], + "carrierType": [ + { + "id": "carriertypes:nc", + "label": "volume" + } + ], + "dateString": [ + "201" + ], + "titleDisplay": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." + ], + "uri": "b22144813", + "electronicResources": [ + { + "label": "856 40", + "url": "http://blogs.nypl.org/rcramer/" + }, + { + "label": "Yizkor Book (NYPL resource) 856 41", + "url": "http://yizkor.nypl.org/index.php?id=2936" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" + } + ], + "parallelTitleDisplay": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "placeOfPublication": [ + "[s.l.]", + "Long Island CIty, N.Y.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "issuance": [ + { + "id": "urn:biblevel:m", + "label": "monograph/item" + } + ], + "supplementaryContent": [ + { + "label": "Contents", + "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" + } + ], + "dimensions": [ + "26 cm +", + "26 cm. +", + "More 3rd instance -- 300 (3rd instance)" + ], + "idIsbn_clean": [ + "0123456789", + "9780123456786", + "020" + ] + }, + "sort": [ + 32.66396, + "b22144813" + ], + "inner_hits": { + "electronicResources": { + "hits": { + "total": 0, + "max_score": null, + "hits": [] + } + }, + "items": { + "hits": { + "total": 2, + "max_score": null, + "hits": [ + { + "_nested": { + "field": "items", + "offset": 0 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:1", + "label": "Use in library" + } + ], + "accessMessage_packed": [ + "accessMessage:1||Use in library" + ], + "catalogItemType": [ + { + "id": "catalogItemType:2", + "label": "book non-circ" + } + ], + "catalogItemType_packed": [ + "catalogItemType:2||book non-circ" + ], + "enumerationChronology": [ + "v.1" + ], + "enumerationChronology_sort": [ + " 1-" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:mall1", + "label": "Schwarzman Building - Main Reading Room 315 - Reference" + } + ], + "holdingLocation_packed": [ + "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" + ], + "idBarcode": [ + "3333333333" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "urn:barcode:3333333333" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "type": "bf:ShelfMark" + }, + { + "value": "3333333333", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1101", + "label": "General Research Division" + } + ], + "owner_packed": [ + "orgs:1101||General Research Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + false + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", + "status": [ + { + "id": "status:k", + "label": "Check with staff" + } + ], + "status_packed": [ + "status:k||Check with staff" + ], + "type": [ + "bf:Item" + ], + "volumeRange": [ + { + "gte": 1, + "lte": 1 + } + ], + "uri": "i37857771" + }, + "sort": [ + " 1-" + ] + }, + { + "_nested": { + "field": "items", + "offset": 1 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:2", + "label": "Request in advance" + } + ], + "accessMessage_packed": [ + "accessMessage:2||Request in advance" + ], + "catalogItemType": [ + { + "id": "catalogItemType:3", + "label": "serial" + } + ], + "catalogItemType_packed": [ + "catalogItemType:3||serial" + ], + "enumerationChronology": [ + "nothing" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:rcmf2", + "label": "Offsite" + } + ], + "holdingLocation_packed": [ + "loc:rcmf2||Offsite" + ], + "idBarcode": [ + "44455533322211" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "urn:barcode:44455533322211" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "type": "bf:ShelfMark" + }, + { + "value": "44455533322211", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1103", + "label": "Dorot Jewish Division" + } + ], + "owner_packed": [ + "orgs:1103||Dorot Jewish Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + true + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "status": [ + { + "id": "status:a", + "label": "Available" + } + ], + "status_packed": [ + "status:a||Available" + ], + "type": [ + "bf:Item" + ], + "uri": "i37857772" + }, + "sort": [ + null + ] + } + ] + } + } + } + } + ] + } + }, + "statusCode": 200 +} \ No newline at end of file diff --git a/test/fixtures/query-77495a1fa1f017210734f0ed30142e42.json b/test/fixtures/query-77495a1fa1f017210734f0ed30142e42.json new file mode 100644 index 00000000..e7ad7671 --- /dev/null +++ b/test/fixtures/query-77495a1fa1f017210734f0ed30142e42.json @@ -0,0 +1,958 @@ +{ + "body": { + "took": 503, + "timed_out": false, + "_shards": { + "total": 3, + "successful": 3, + "failed": 0 + }, + "hits": { + "total": 1, + "max_score": null, + "hits": [ + { + "_index": "resources-2018-04-09", + "_type": "resource", + "_id": "b22144813", + "_score": 17.58589, + "_source": { + "extent": [ + "1234, [1] pages, x leaves : illustrations ;", + "1234, [1] p., x leaves : ill. ;", + "Third description instance : More 3rd instance ;" + ], + "partOf": [ + "In: -- 773 0b" + ], + "nyplSource": [ + "sierra-nypl" + ], + "serialPublicationDates": [ + "Publication Date (unformated) -- 362 1b" + ], + "publisherLiteral": [ + "Specious Publ. [prev.pub.-- 260.2b]", + "CopyCat pub. co. -- 260 bb" + ], + "language": [ + { + "id": "lang:eng", + "label": "English" + } + ], + "createdYear": [ + 201 + ], + "parallelTitle": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "type": [ + "nypl:Item" + ], + "shelfMark": [ + "Q-TAG (852 8b q tag. Staff call in bib.)" + ], + "idLccn": [ + "LCCN -- 010", + "9790001138673", + "ISMN", + "Danacode", + "UPC", + "EAN" + ], + "idIssn": [ + "ISSN -- 022" + ], + "seriesStatement": [ + "440 Series ; v. number -- 440 b0", + "490 Series ; v. number -- 490 0b", + "Author, of series. CMA Test Records. -- 800 1b", + "CMA (Cat). CMA Test Records -- 810 2b " + ], + "dateStartYear": [ + 201 + ], + "parallelCreatorLiteral": [ + "‏גלוגר,מרים פ." + ], + "identifierV2": [ + { + "type": "bf:ShelfMark", + "value": "Q-TAG (852 8b q tag. Staff call in bib.)" + }, + { + "type": "nypl:Bnumber", + "value": "22144813" + }, + { + "type": "bf:Isbn", + "value": "0123456789" + }, + { + "type": "bf:Isbn", + "value": "9780123456786 (qualifier)" + }, + { + "type": "bf:Isbn", + "value": "ISBN -- 020" + }, + { + "type": "bf:Isbn", + "identifierStatus": "canceled/invalid", + "value": "ISBN -- 020 $z" + }, + { + "type": "bf:Lccn", + "value": "LCCN -- 010" + }, + { + "type": "bf:Lccn", + "value": "9790001138673" + }, + { + "type": "bf:Lccn", + "value": "ISMN" + }, + { + "type": "bf:Lccn", + "value": "Danacode" + }, + { + "type": "bf:Lccn", + "value": "UPC" + }, + { + "type": "bf:Lccn", + "value": "EAN" + }, + { + "type": "bf:Issn", + "value": "ISSN -- 022" + }, + { + "type": "bf:Identifier", + "value": "Report number. -- 027" + }, + { + "type": "bf:Identifier", + "value": "Publisher no. -- 028 02 " + }, + { + "type": "bf:Identifier", + "value": "Standard number (old RLIN, etc.) -- 035" + }, + { + "type": "bf:Identifier", + "value": "Sudoc no. -- 086" + }, + { + "type": "bf:Identifier", + "value": "GPO Item number. -- 074" + } + ], + "formerTitle": [ + "Former title -- 247 00" + ], + "updatedAt": 1711656889146, + "publicationStatement": [ + "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", + "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "identifier": [ + "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", + "urn:bnum:22144813", + "urn:isbn:0123456789", + "urn:isbn:9780123456786 (qualifier)", + "urn:isbn:ISBN -- 020", + "urn:isbn:ISBN -- 020 $z", + "urn:lccn:LCCN -- 010", + "urn:lccn:9790001138673", + "urn:lccn:ISMN", + "urn:lccn:Danacode", + "urn:lccn:UPC", + "urn:lccn:EAN", + "urn:issn:ISSN -- 022", + "urn:identifier:Report number. -- 027", + "urn:identifier:Publisher no. -- 028 02 ", + "urn:identifier:Standard number (old RLIN, etc.) -- 035", + "urn:identifier:Sudoc no. -- 086", + "urn:identifier:GPO Item number. -- 074" + ], + "mediaType": [ + { + "id": "mediatypes:n", + "label": "unmediated" + } + ], + "subjectLiteral": [ + "Starving artist -- 600 00.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term -- 653" + ], + "titleAlt": [ + "Abrev. title -- 210 ", + "Key title -- 222 ", + "T tagged 240 Uniform title -- t240", + "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", + "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", + "Portion of title 246 30", + "Parallel title 246 31", + "Distinctive title 246 12", + "Other title 246 13", + "Cover title 246 14", + "Cover title 246 04", + "Added title page title 246 15", + "Running title 246 17", + "Caption title 246 16", + "Spine title 246 18", + "No type of title specified 246 3 blank", + "246 1 blank", + "Zaglavie Russiĭi", + "Added title -- 740 0b" + ], + "tableOfContents": [ + "Complete table of contents. -- 505 0b", + "1. Incomplete table of contents. -- First instance.-- 505 1b", + "2. Incomplete table of contents -- Second instance. 505 1b", + "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", + "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." + ], + "note": [ + { + "noteType": "Note", + "label": "Ordinary note. -- 500", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "²³¹", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "⠀⠀⠀\\___( ツ )___", + "type": "bf:Note" + }, + { + "noteType": "With", + "label": "Bound with note. -- 501", + "type": "bf:Note" + }, + { + "noteType": "Thesis", + "label": "Thesis -- (degree) note. -- 502", + "type": "bf:Note" + }, + { + "noteType": "Bibliography", + "label": "Includes bibliographical references (p. [1235]). -- 504", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Access -- 506 blank,any", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Restricted Access -- 506 1,any", + "type": "bf:Note" + }, + { + "noteType": "Scale", + "label": "Scale (graphic) -- 507", + "type": "bf:Note" + }, + { + "noteType": "Credits", + "label": "Credits (Creation/production credits note) -- 508", + "type": "bf:Note" + }, + { + "noteType": "Performer", + "label": "Cast --511 1b", + "type": "bf:Note" + }, + { + "noteType": "Type of Report", + "label": "Type of Report. -- 513", + "type": "bf:Note" + }, + { + "noteType": "Data Quality", + "label": "Data quality -- 514", + "type": "bf:Note" + }, + { + "noteType": "Numbering", + "label": "Completely irregular. -- 515", + "type": "bf:Note" + }, + { + "noteType": "File Type", + "label": "File type. -- 516", + "type": "bf:Note" + }, + { + "noteType": "Event", + "label": "Event. -- 518", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience (2): Test of 2nd 521 field.", + "type": "bf:Note" + }, + { + "noteType": "Coverage", + "label": "Coverage -- 522", + "type": "bf:Note" + }, + { + "noteType": "Cite As", + "label": "Cite as: The Mega-MARC test record. -- 524", + "type": "bf:Note" + }, + { + "noteType": "Supplement", + "label": "Supplement -- 525", + "type": "bf:Note" + }, + { + "noteType": "Study Program", + "label": "Study program -- 526 8b ", + "type": "bf:Note" + }, + { + "noteType": "Additional Formats", + "label": "Other test records available. -- 530", + "type": "bf:Note" + }, + { + "noteType": "Reproduction", + "label": "Microfilm.", + "type": "bf:Note" + }, + { + "noteType": "Original Location", + "label": "Original location in SASB -- 535", + "type": "bf:Note" + }, + { + "noteType": "Funding", + "label": "Funding -- 536", + "type": "bf:Note" + }, + { + "noteType": "System Details", + "label": "System Details -- 538", + "type": "bf:Note" + }, + { + "noteType": "Terms of Use", + "label": "Use as test record -- 540", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source display-- 5411b", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", + "type": "bf:Note" + }, + { + "noteType": "Location of Other Archival Materials", + "label": "Location of Other Archival Materials -- 544", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 545", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 5451 Administrative history", + "type": "bf:Note" + }, + { + "noteType": "Language", + "label": "In English and non-roman scripts. -- 546", + "type": "bf:Note" + }, + { + "noteType": "Former Title", + "label": "Former title (complexity note) -- 547", + "type": "bf:Note" + }, + { + "noteType": "Issued By", + "label": "Issued by CCO -- 550", + "type": "bf:Note" + }, + { + "noteType": "Indexes/Finding Aids", + "label": "Indexes -- 555 bb", + "type": "bf:Note" + }, + { + "noteType": "Documentation", + "label": "Documentation (information about, note) -- 556", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance display --5611b", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", + "type": "bf:Note" + }, + { + "noteType": "Copy/Version", + "label": "Copy/Version (identification note) -- 562", + "type": "bf:Note" + }, + { + "noteType": "Binding", + "label": "Binding -- 563", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Complemented by Linking entry: Bogus title -- 580", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Linking Entry (complexity note) -- 580", + "type": "bf:Note" + }, + { + "noteType": "Publications", + "label": "Publications (about described material note) -- 581", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action display --583 1b", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", + "type": "bf:Note" + }, + { + "noteType": "Exhibitions", + "label": "Exhibitions -- 585", + "type": "bf:Note" + }, + { + "noteType": "Awards", + "label": "Awards -- 586", + "type": "bf:Note" + }, + { + "noteType": "Source of Description", + "label": "Latest issue consulted: 1900/1901. -- 588 1b", + "type": "bf:Note" + } + ], + "subjectLiteral_exploded": [ + "Starving artist", + "Starving artist -- 600 00", + "Artist, Starving, 1900-1999", + "Artist, Starving, 1900-1999 -- Autobiography.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject.", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers", + "Secret Society of Catalogers -- Periodicals.", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield", + "testing x as first subfield -- testing v as second subfield.", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", + "Conference subject entry.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield)", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g", + "testing 4 testing a testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title", + "Life is a common square.", + "Life is a common square. -- Criticism.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g", + "testing 4 testing a testing d testing e testing g -- testing v", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting", + "Textile industry testing datetesting -- 650 b0 $z, $x", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e", + "testing 4 testing a testing b testing c testing d testing e -- testing v", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.)", + "New York (N.Y.) -- 21st century", + "New York (N.Y.) -- 21st century -- Diaries.", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country.", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g", + "testing 4 testing a testing e testing g -- testing v", + "testing 4 testing a testing e testing g -- testing v -- testing x", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term", + "Indexed term -- 653" + ], + "numItemDatesParsed": [ + 0 + ], + "description": [ + "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", + "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" + ], + "numItemsTotal": [ + 2 + ], + "dateEndString": [ + "2011" + ], + "title": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" + ], + "numItemVolumesParsed": [ + 1 + ], + "createdString": [ + "201" + ], + "creatorLiteral": [ + "Gloger, Miriam.", + "BookOps. Cataloging. --110 2b ab.", + "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" + ], + "numElectronicResources": [ + 4 + ], + "contributorLiteral": [ + "Cramer, Richard, 1948-.", + "Cramer, Richard, 1948-", + "Bayer, Jeffrey.", + "Bayer, Jeffrey", + "New York Public Library Database Management Group. -- 710 2b", + "Conference added author. 711 2b", + "Added entry (uncontrolled name) -- 7201", + "Cramer, Richard, 1948- fmo", + "Virtual collection -- 791 2b" + ], + "donor": [ + "Donor / Sponsor -- 799 bb" + ], + "uniformTitle": [ + "T tagged 240 Uniform title -- t240", + "Added title -- 730 0b", + "CMA Test Records -- 830 b0" + ], + "dateEndYear": [ + 2011 + ], + "parallelTitleAlt": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "зглавие руссий" + ], + "genreForm": [ + "Genre heading.", + "Blank pages and looks – Someplace – 1990.", + "testing a – testing b – testing c – testing v – testing x – testing y – testing z" + ], + "idIsbn": [ + "0123456789", + "9780123456786 (qualifier)", + "ISBN -- 020" + ], + "numCheckinCardItems": [ + 0 + ], + "materialType": [ + { + "id": "resourcetypes:txt", + "label": "Text" + } + ], + "carrierType": [ + { + "id": "carriertypes:nc", + "label": "volume" + } + ], + "dateString": [ + "201" + ], + "titleDisplay": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." + ], + "uri": "b22144813", + "electronicResources": [ + { + "label": "856 40", + "url": "http://blogs.nypl.org/rcramer/" + }, + { + "label": "Yizkor Book (NYPL resource) 856 41", + "url": "http://yizkor.nypl.org/index.php?id=2936" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" + } + ], + "parallelTitleDisplay": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "placeOfPublication": [ + "[s.l.]", + "Long Island CIty, N.Y.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "issuance": [ + { + "id": "urn:biblevel:m", + "label": "monograph/item" + } + ], + "supplementaryContent": [ + { + "label": "Contents", + "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" + } + ], + "dimensions": [ + "26 cm +", + "26 cm. +", + "More 3rd instance -- 300 (3rd instance)" + ], + "idIsbn_clean": [ + "0123456789", + "9780123456786", + "020" + ] + }, + "sort": [ + 17.58589, + "b22144813" + ], + "inner_hits": { + "electronicResources": { + "hits": { + "total": 0, + "max_score": null, + "hits": [] + } + }, + "items": { + "hits": { + "total": 2, + "max_score": null, + "hits": [ + { + "_nested": { + "field": "items", + "offset": 0 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:1", + "label": "Use in library" + } + ], + "accessMessage_packed": [ + "accessMessage:1||Use in library" + ], + "catalogItemType": [ + { + "id": "catalogItemType:2", + "label": "book non-circ" + } + ], + "catalogItemType_packed": [ + "catalogItemType:2||book non-circ" + ], + "enumerationChronology": [ + "v.1" + ], + "enumerationChronology_sort": [ + " 1-" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:mall1", + "label": "Schwarzman Building - Main Reading Room 315 - Reference" + } + ], + "holdingLocation_packed": [ + "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" + ], + "idBarcode": [ + "3333333333" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "urn:barcode:3333333333" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "type": "bf:ShelfMark" + }, + { + "value": "3333333333", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1101", + "label": "General Research Division" + } + ], + "owner_packed": [ + "orgs:1101||General Research Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + false + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", + "status": [ + { + "id": "status:k", + "label": "Check with staff" + } + ], + "status_packed": [ + "status:k||Check with staff" + ], + "type": [ + "bf:Item" + ], + "volumeRange": [ + { + "gte": 1, + "lte": 1 + } + ], + "uri": "i37857771" + }, + "sort": [ + " 1-" + ] + }, + { + "_nested": { + "field": "items", + "offset": 1 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:2", + "label": "Request in advance" + } + ], + "accessMessage_packed": [ + "accessMessage:2||Request in advance" + ], + "catalogItemType": [ + { + "id": "catalogItemType:3", + "label": "serial" + } + ], + "catalogItemType_packed": [ + "catalogItemType:3||serial" + ], + "enumerationChronology": [ + "nothing" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:rcmf2", + "label": "Offsite" + } + ], + "holdingLocation_packed": [ + "loc:rcmf2||Offsite" + ], + "idBarcode": [ + "44455533322211" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "urn:barcode:44455533322211" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "type": "bf:ShelfMark" + }, + { + "value": "44455533322211", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1103", + "label": "Dorot Jewish Division" + } + ], + "owner_packed": [ + "orgs:1103||Dorot Jewish Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + true + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "status": [ + { + "id": "status:a", + "label": "Available" + } + ], + "status_packed": [ + "status:a||Available" + ], + "type": [ + "bf:Item" + ], + "uri": "i37857772" + }, + "sort": [ + null + ] + } + ] + } + } + } + } + ] + } + }, + "statusCode": 200 +} \ No newline at end of file diff --git a/test/fixtures/query-4d6cefd37c21dc26c70b44c812678cdd.json b/test/fixtures/query-7d5bef6e71642835d7405ca5e38fde29.json similarity index 96% rename from test/fixtures/query-4d6cefd37c21dc26c70b44c812678cdd.json rename to test/fixtures/query-7d5bef6e71642835d7405ca5e38fde29.json index 436f053f..601028f3 100644 --- a/test/fixtures/query-4d6cefd37c21dc26c70b44c812678cdd.json +++ b/test/fixtures/query-7d5bef6e71642835d7405ca5e38fde29.json @@ -1,24 +1,21 @@ { "body": { - "took": 148, + "took": 657, "timed_out": false, "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, + "total": 3, + "successful": 3, "failed": 0 }, "hits": { - "total": { - "value": 5, - "relation": "eq" - }, + "total": 5, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", + "_index": "resources-2018-04-09", + "_type": "resource", "_id": "b11826883", - "_score": 69.016174, + "_score": 765.99866, "_source": { "extent": [ "v. : ill. ;" @@ -93,12 +90,12 @@ "dateEndString": [ "9999" ], - "title": [ - "Furniture history : the journal of the Furniture History Society." - ], "type": [ "nypl:Item" ], + "title": [ + "Furniture history : the journal of the Furniture History Society." + ], "shelfMark": [ "JQL 08-18" ], @@ -123,9 +120,6 @@ "dateStartYear": [ 1965 ], - "idOclc": [ - "1570335" - ], "identifierV2": [ { "type": "bf:ShelfMark", @@ -156,6 +150,9 @@ "value": "(WaOLN)nyp1832956" } ], + "idOclc": [ + "1570335" + ], "dateEndYear": [ 9999 ], @@ -517,46 +514,38 @@ "placeOfPublication": [ "[London]" ], + "titleAlt": [ + "Furnit. hist.", + "Furniture history" + ], "issuance": [ { "id": "urn:biblevel:s", "label": "serial" } ], - "titleAlt": [ - "Furnit. hist.", - "Furniture history" - ], "dimensions": [ "25 cm." ] }, "sort": [ - 69.016174, + 765.99866, "b11826883" ], "inner_hits": { "electronicResources": { "hits": { - "total": { - "value": 0, - "relation": "eq" - }, + "total": 0, "max_score": null, "hits": [] } }, "items": { "hits": { - "total": { - "value": 70, - "relation": "eq" - }, + "total": 70, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", - "_id": "b11826883", "_nested": { "field": "items", "offset": 0 @@ -669,8 +658,6 @@ ] }, { - "_index": "resources-2024-06-07", - "_id": "b11826883", "_nested": { "field": "items", "offset": 69 @@ -748,8 +735,6 @@ ] }, { - "_index": "resources-2024-06-07", - "_id": "b11826883", "_nested": { "field": "items", "offset": 1 @@ -867,9 +852,10 @@ } }, { - "_index": "resources-2024-06-07", + "_index": "resources-2018-04-09", + "_type": "resource", "_id": "b21506221", - "_score": 18.734951, + "_score": 18.554728, "_source": { "extent": [ "v. : ill. ;" @@ -1040,31 +1026,23 @@ ] }, "sort": [ - 18.734951, + 18.554728, "b21506221" ], "inner_hits": { "electronicResources": { "hits": { - "total": { - "value": 0, - "relation": "eq" - }, + "total": 0, "max_score": null, "hits": [] } }, "items": { "hits": { - "total": { - "value": 1, - "relation": "eq" - }, + "total": 1, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", - "_id": "b21506221", "_nested": { "field": "items", "offset": 0 @@ -1164,22 +1142,18 @@ } }, { - "_index": "resources-2024-06-07", - "_id": "b11560439", - "_score": 17.650162, + "_index": "resources-2018-04-09", + "_type": "resource", + "_id": "b16775643", + "_score": 16.264187, "_source": { "extent": [ - "56 volumes : illustrations ;" + "v. : ill. ;" ], "note": [ { - "noteType": "Source of Description", - "label": "Description based on: Jaarg. 16, nr. 1, published in 1968.", - "type": "bf:Note" - }, - { - "noteType": "Source of Description", - "label": "Latest issue consulted: Jaarg. 56, nr. 4 (2008).", + "noteType": "Note", + "label": "Title from cover.", "type": "bf:Note" } ], @@ -1187,127 +1161,141 @@ "sierra-nypl" ], "serialPublicationDates": [ - "Began 1953; ceased in 2008." + "No. 16 (fall 1982)-" ], "subjectLiteral_exploded": [ - "Rijksmuseum (Netherlands)", - "Rijksmuseum (Netherlands) -- Periodicals", "Art", - "Art -- Periodicals", - "Art -- Netherlands", - "Art -- Netherlands -- Amsterdam", - "Art -- Netherlands -- Amsterdam -- Periodicals", - "Art -- Netherlands -- Amsterdam -- Periodicals -- Art", - "Netherlands", - "Netherlands -- Amsterdam" + "Art -- Research", + "Art -- Research -- Periodicals" ], "numItemDatesParsed": [ - 28 + 10 ], "publisherLiteral": [ - "Rijks-Museum" + "University of Illinois Press" ], "language": [ { - "id": "lang:dut", - "label": "Dutch" + "id": "lang:eng", + "label": "English" } ], "numItemsTotal": [ - 28 + 10 ], "createdYear": [ - 1953 + 1982 ], "dateEndString": [ - "2008" + "9999" ], "title": [ - "Bulletin van het Rijksmuseum." + "Visual arts research." ], "type": [ "nypl:Item" ], "shelfMark": [ - "JQL 08-19" + "JQL 08-3" ], "numItemVolumesParsed": [ - 28 + 2 ], "createdString": [ - "1953" - ], - "creatorLiteral": [ - "Rijksmuseum (Netherlands)" + "1982" ], "idLccn": [ - "2009219042" + "83644328" ], "idIssn": [ - "0165-9510" + "0736-0770" ], "numElectronicResources": [ - 2 + 0 ], "dateStartYear": [ - 1953 - ], - "donor": [ - "Gift of the DeWitt Wallace Endowment Fund, named in honor of the founder of Reader's Digest" + 1982 ], "idOclc": [ - "4272788" + "9069635" ], "identifierV2": [ { "type": "bf:ShelfMark", - "value": "JQL 08-19" + "value": "JQL 08-3" }, { "type": "nypl:Bnumber", - "value": "11560439" + "value": "16775643" }, { "type": "nypl:Oclc", - "value": "4272788" + "value": "9069635" }, { "type": "bf:Lccn", - "value": "2009219042" + "value": "83644328" }, { "type": "bf:Issn", - "value": "0165-9510" + "value": "0736-0770" + }, + { + "type": "bf:Issn", + "identifierStatus": "incorrect", + "value": "0160-3221" }, { "type": "bf:Identifier", - "value": "(OCoLC)4272788" + "value": "(OCoLC)9069635" }, { "type": "bf:Identifier", - "value": "(OCoLC)1481032 (OCoLC)646828412 (OCoLC)1001937252 (OCoLC)1036735109 (OCoLC)1052909875 (OCoLC)1064861871" + "value": "(WaOLN)S240000007" } ], "dateEndYear": [ - 2008 + 9999 ], - "updatedAt": 1713883991037, - "publicationStatement": [ - "Amsterdam : Rijks-Museum, -©2008." + "holdings": [ + { + "holdingStatement": [ + "9(1983)-27(2001)-" + ], + "identifier": [ + { + "type": "bf:shelfMark", + "value": "JQL 08-3" + } + ], + "physicalLocation": [ + "JQL 08-3" + ], + "location": [ + { + "code": "loc:mab82", + "label": "Schwarzman Building M1 - Art & Architecture Room 300" + } + ], + "shelfMark": [ + "JQL 08-3" + ], + "uri": "h1090282" + } ], - "genreForm": [ - "Catalogs.", - "Periodicals.", - "Art." + "updatedAt": 1711226746443, + "publicationStatement": [ + "[Champaign, Ill.] : University of Illinois Press, c1982-" ], "identifier": [ - "urn:shelfmark:JQL 08-19", - "urn:bnum:11560439", - "urn:oclc:4272788", - "urn:lccn:2009219042", - "urn:issn:0165-9510", - "urn:identifier:(OCoLC)4272788", - "urn:identifier:(OCoLC)1481032 (OCoLC)646828412 (OCoLC)1001937252 (OCoLC)1036735109 (OCoLC)1052909875 (OCoLC)1064861871" + "urn:shelfmark:JQL 08-3", + "urn:bnum:16775643", + "urn:oclc:9069635", + "urn:lccn:83644328", + "urn:issn:0736-0770", + "urn:issn:0160-3221", + "urn:identifier:(OCoLC)9069635", + "urn:identifier:(WaOLN)S240000007" ], "numCheckinCardItems": [ 0 @@ -1325,7 +1313,7 @@ } ], "dateString": [ - "1953" + "1982" ], "mediaType": [ { @@ -1334,30 +1322,17 @@ } ], "subjectLiteral": [ - "Rijksmuseum (Netherlands) -- Periodicals.", - "Rijksmuseum (Netherlands)", - "Art -- Periodicals.", - "Art -- Netherlands -- Amsterdam -- Periodicals -- Art.", - "Art.", - "Netherlands -- Amsterdam." + "Art -- Research -- Periodicals." ], "titleDisplay": [ - "Bulletin van het Rijksmuseum." + "Visual arts research." ], - "uri": "b11560439", + "uri": "b16775643", "lccClassification": [ - "N2460 .A3" - ], - "electronicResources": [ - { - "url": "http://www.rijksmuseum.nl/bulletin?lang=en" - }, - { - "url": "http://www.jstor.org/journals/01659510.html" - } + "N81 .R49" ], "placeOfPublication": [ - "Amsterdam" + "[Champaign, Ill.]" ], "issuance": [ { @@ -1366,39 +1341,31 @@ } ], "titleAlt": [ - "Bull. Rÿksmus.", - "Bulletin van het Rÿksmuseum" + "Vis. arts res.", + "Visual arts research" ], "dimensions": [ - "24 cm" + "23 cm." ] }, "sort": [ - 17.650162, - "b11560439" + 16.264187, + "b16775643" ], "inner_hits": { "electronicResources": { "hits": { - "total": { - "value": 0, - "relation": "eq" - }, + "total": 0, "max_score": null, "hits": [] } }, "items": { "hits": { - "total": { - "value": 28, - "relation": "eq" - }, + "total": 10, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", - "_id": "b11560439", "_nested": { "field": "items", "offset": 0 @@ -1425,15 +1392,15 @@ ], "dateRange": [ { - "gte": "2008", - "lte": "2008" + "gte": "2012", + "lte": "2012" } ], "enumerationChronology": [ - "v. 56 (2008) & Index" + "v. 38, no. 1, Issue 74 (Sum. 2012)" ], "enumerationChronology_sort": [ - " 56-2008" + " 38-2012" ], "formatLiteral": [ "Text" @@ -1448,19 +1415,19 @@ "loc:rcmb2||Offsite" ], "idBarcode": [ - "33433099607917" + "33433115147914" ], "identifier": [ - "urn:shelfmark:JQL 08-19 v. 56 (2008) & Index", - "urn:barcode:33433099607917" + "urn:shelfmark:JQL 08-3 v. 38, no. 1, Issue 74 (Sum. 2012)", + "urn:barcode:33433115147914" ], "identifierV2": [ { - "value": "JQL 08-19 v. 56 (2008) & Index", + "value": "JQL 08-3 v. 38, no. 1, Issue 74 (Sum. 2012)", "type": "bf:ShelfMark" }, { - "value": "33433099607917", + "value": "33433115147914", "type": "bf:Barcode" } ], @@ -1474,7 +1441,7 @@ "orgs:1110||The Miriam and Ira D. Wallach Division of Art, Prints and Photographs: Art & Architecture Collection" ], "physicalLocation": [ - "JQL 08-19" + "JQL 08-3" ], "recapCustomerCode": [ "NQ" @@ -1483,9 +1450,9 @@ true ], "shelfMark": [ - "JQL 08-19 v. 56 (2008) & Index" + "JQL 08-3 v. 38, no. 1, Issue 74 (Sum. 2012)" ], - "shelfMark_sort": "aJQL 08-19 v. 000056 (2008) & Index", + "shelfMark_sort": "aJQL 08-3 v. 000038, no. 1, Issue 74 (Sum. 2012)", "status": [ { "id": "status:a", @@ -1500,19 +1467,17 @@ ], "volumeRange": [ { - "gte": 56, - "lte": 56 + "gte": 38, + "lte": 38 } ], - "uri": "i28757051" + "uri": "i29405160" }, "sort": [ - " 56-2008" + " 38-2012" ] }, { - "_index": "resources-2024-06-07", - "_id": "b11560439", "_nested": { "field": "items", "offset": 1 @@ -1539,15 +1504,15 @@ ], "dateRange": [ { - "gte": "2007", - "lte": "2007" + "gte": "1989", + "lte": "1990" } ], "enumerationChronology": [ - "v. 55 (2007) & Index" + "v. 15-16 (1989-90)" ], "enumerationChronology_sort": [ - " 55-2007" + " 15-1989" ], "formatLiteral": [ "Text" @@ -1562,19 +1527,19 @@ "loc:rcmb2||Offsite" ], "idBarcode": [ - "33433099608063" + "33433105255586" ], "identifier": [ - "urn:shelfmark:JQL 08-19 v. 55 (2007) & Index", - "urn:barcode:33433099608063" + "urn:shelfmark:JQL 08-3 v. 15-16 (1989-90)", + "urn:barcode:33433105255586" ], "identifierV2": [ { - "value": "JQL 08-19 v. 55 (2007) & Index", + "value": "JQL 08-3 v. 15-16 (1989-90)", "type": "bf:ShelfMark" }, { - "value": "33433099608063", + "value": "33433105255586", "type": "bf:Barcode" } ], @@ -1588,7 +1553,7 @@ "orgs:1110||The Miriam and Ira D. Wallach Division of Art, Prints and Photographs: Art & Architecture Collection" ], "physicalLocation": [ - "JQL 08-19" + "JQL 08-3" ], "recapCustomerCode": [ "NQ" @@ -1597,9 +1562,9 @@ true ], "shelfMark": [ - "JQL 08-19 v. 55 (2007) & Index" + "JQL 08-3 v. 15-16 (1989-90)" ], - "shelfMark_sort": "aJQL 08-19 v. 000055 (2007) & Index", + "shelfMark_sort": "aJQL 08-3 v. 000015-16 (1989-90)", "status": [ { "id": "status:a", @@ -1614,22 +1579,20 @@ ], "volumeRange": [ { - "gte": 55, - "lte": 55 + "gte": 15, + "lte": 16 } ], - "uri": "i28756751" + "uri": "i29627807" }, "sort": [ - " 55-2007" + " 15-1989" ] }, { - "_index": "resources-2024-06-07", - "_id": "b11560439", "_nested": { "field": "items", - "offset": 2 + "offset": 3 }, "_score": null, "_source": { @@ -1653,15 +1616,15 @@ ], "dateRange": [ { - "gte": "2006", - "lte": "2006" - } + "gte": "2000", + "lte": "2001" + } ], "enumerationChronology": [ - "v. 54 (2006) & Index" + "26-27 (2000-2001)" ], "enumerationChronology_sort": [ - " 54-2006" + " -2000" ], "formatLiteral": [ "Text" @@ -1676,19 +1639,19 @@ "loc:rcmb2||Offsite" ], "idBarcode": [ - "33433099608188" + "33433074083142" ], "identifier": [ - "urn:shelfmark:JQL 08-19 v. 54 (2006) & Index", - "urn:barcode:33433099608188" + "urn:shelfmark:JQL 08-3 26-27 (2000-2001)", + "urn:barcode:33433074083142" ], "identifierV2": [ { - "value": "JQL 08-19 v. 54 (2006) & Index", + "value": "JQL 08-3 26-27 (2000-2001)", "type": "bf:ShelfMark" }, { - "value": "33433099608188", + "value": "33433074083142", "type": "bf:Barcode" } ], @@ -1702,7 +1665,7 @@ "orgs:1110||The Miriam and Ira D. Wallach Division of Art, Prints and Photographs: Art & Architecture Collection" ], "physicalLocation": [ - "JQL 08-19" + "JQL 08-3" ], "recapCustomerCode": [ "NQ" @@ -1711,9 +1674,9 @@ true ], "shelfMark": [ - "JQL 08-19 v. 54 (2006) & Index" + "JQL 08-3 26-27 (2000-2001)" ], - "shelfMark_sort": "aJQL 08-19 v. 000054 (2006) & Index", + "shelfMark_sort": "aJQL 08-3 26-27 (2000-2001)", "status": [ { "id": "status:a", @@ -1726,16 +1689,10 @@ "type": [ "bf:Item" ], - "volumeRange": [ - { - "gte": 54, - "lte": 54 - } - ], - "uri": "i28756731" + "uri": "i17662016" }, "sort": [ - " 54-2006" + " -2000" ] } ] @@ -1744,17 +1701,23 @@ } }, { - "_index": "resources-2024-06-07", - "_id": "b16775643", - "_score": 16.852743, + "_index": "resources-2018-04-09", + "_type": "resource", + "_id": "b11560439", + "_score": 15.684884, "_source": { "extent": [ - "v. : ill. ;" + "56 volumes : illustrations ;" ], "note": [ { - "noteType": "Note", - "label": "Title from cover.", + "noteType": "Source of Description", + "label": "Description based on: Jaarg. 16, nr. 1, published in 1968.", + "type": "bf:Note" + }, + { + "noteType": "Source of Description", + "label": "Latest issue consulted: Jaarg. 56, nr. 4 (2008).", "type": "bf:Note" } ], @@ -1762,141 +1725,127 @@ "sierra-nypl" ], "serialPublicationDates": [ - "No. 16 (fall 1982)-" + "Began 1953; ceased in 2008." ], "subjectLiteral_exploded": [ + "Rijksmuseum (Netherlands)", + "Rijksmuseum (Netherlands) -- Periodicals", "Art", - "Art -- Research", - "Art -- Research -- Periodicals" + "Art -- Periodicals", + "Art -- Netherlands", + "Art -- Netherlands -- Amsterdam", + "Art -- Netherlands -- Amsterdam -- Periodicals", + "Art -- Netherlands -- Amsterdam -- Periodicals -- Art", + "Netherlands", + "Netherlands -- Amsterdam" ], "numItemDatesParsed": [ - 10 + 28 ], "publisherLiteral": [ - "University of Illinois Press" + "Rijks-Museum" ], "language": [ { - "id": "lang:eng", - "label": "English" + "id": "lang:dut", + "label": "Dutch" } ], "numItemsTotal": [ - 10 + 28 ], "createdYear": [ - 1982 + 1953 ], "dateEndString": [ - "9999" - ], - "title": [ - "Visual arts research." + "2008" ], "type": [ "nypl:Item" ], + "title": [ + "Bulletin van het Rijksmuseum." + ], "shelfMark": [ - "JQL 08-3" + "JQL 08-19" ], "numItemVolumesParsed": [ - 2 + 28 ], "createdString": [ - "1982" + "1953" + ], + "creatorLiteral": [ + "Rijksmuseum (Netherlands)" ], "idLccn": [ - "83644328" + "2009219042" ], "idIssn": [ - "0736-0770" + "0165-9510" ], "numElectronicResources": [ - 0 + 2 ], "dateStartYear": [ - 1982 + 1953 ], - "idOclc": [ - "9069635" + "donor": [ + "Gift of the DeWitt Wallace Endowment Fund, named in honor of the founder of Reader's Digest" ], "identifierV2": [ { "type": "bf:ShelfMark", - "value": "JQL 08-3" + "value": "JQL 08-19" }, { "type": "nypl:Bnumber", - "value": "16775643" + "value": "11560439" }, { "type": "nypl:Oclc", - "value": "9069635" + "value": "4272788" }, { "type": "bf:Lccn", - "value": "83644328" - }, - { - "type": "bf:Issn", - "value": "0736-0770" + "value": "2009219042" }, { "type": "bf:Issn", - "identifierStatus": "incorrect", - "value": "0160-3221" + "value": "0165-9510" }, { "type": "bf:Identifier", - "value": "(OCoLC)9069635" + "value": "(OCoLC)4272788" }, { "type": "bf:Identifier", - "value": "(WaOLN)S240000007" + "value": "(OCoLC)1481032 (OCoLC)646828412 (OCoLC)1001937252 (OCoLC)1036735109 (OCoLC)1052909875 (OCoLC)1064861871" } ], - "dateEndYear": [ - 9999 + "idOclc": [ + "4272788" ], - "holdings": [ - { - "holdingStatement": [ - "9(1983)-27(2001)-" - ], - "identifier": [ - { - "type": "bf:shelfMark", - "value": "JQL 08-3" - } - ], - "physicalLocation": [ - "JQL 08-3" - ], - "location": [ - { - "code": "loc:mab82", - "label": "Schwarzman Building M1 - Art & Architecture Room 300" - } - ], - "shelfMark": [ - "JQL 08-3" - ], - "uri": "h1090282" - } + "dateEndYear": [ + 2008 ], - "updatedAt": 1711226746443, + "updatedAt": 1718196667044, "publicationStatement": [ - "[Champaign, Ill.] : University of Illinois Press, c1982-" + "Amsterdam : Rijks-Museum, -©2008." ], "identifier": [ - "urn:shelfmark:JQL 08-3", - "urn:bnum:16775643", - "urn:oclc:9069635", - "urn:lccn:83644328", - "urn:issn:0736-0770", - "urn:issn:0160-3221", - "urn:identifier:(OCoLC)9069635", - "urn:identifier:(WaOLN)S240000007" + "urn:shelfmark:JQL 08-19", + "urn:bnum:11560439", + "urn:oclc:4272788", + "urn:lccn:2009219042", + "urn:issn:0165-9510", + "urn:identifier:(OCoLC)4272788", + "urn:identifier:(OCoLC)1481032 (OCoLC)646828412 (OCoLC)1001937252 (OCoLC)1036735109 (OCoLC)1052909875 (OCoLC)1064861871" + ], + "genreForm": [ + "Catalogs.", + "Periodicals.", + "Art." ], "numCheckinCardItems": [ 0 @@ -1914,7 +1863,7 @@ } ], "dateString": [ - "1982" + "1953" ], "mediaType": [ { @@ -1923,17 +1872,34 @@ } ], "subjectLiteral": [ - "Art -- Research -- Periodicals." + "Rijksmuseum (Netherlands) -- Periodicals.", + "Rijksmuseum (Netherlands)", + "Art -- Periodicals.", + "Art -- Netherlands -- Amsterdam -- Periodicals -- Art.", + "Art.", + "Netherlands -- Amsterdam." ], "titleDisplay": [ - "Visual arts research." + "Bulletin van het Rijksmuseum." ], - "uri": "b16775643", + "uri": "b11560439", "lccClassification": [ - "N81 .R49" + "N2460 .A3" + ], + "electronicResources": [ + { + "url": "http://www.rijksmuseum.nl/bulletin?lang=en" + }, + { + "url": "http://www.jstor.org/journals/01659510.html" + } ], "placeOfPublication": [ - "[Champaign, Ill.]" + "Amsterdam" + ], + "titleAlt": [ + "Bull. Rÿksmus.", + "Bulletin van het Rÿksmuseum" ], "issuance": [ { @@ -1941,40 +1907,28 @@ "label": "serial" } ], - "titleAlt": [ - "Vis. arts res.", - "Visual arts research" - ], "dimensions": [ - "23 cm." + "24 cm" ] }, "sort": [ - 16.852743, - "b16775643" + 15.684884, + "b11560439" ], "inner_hits": { "electronicResources": { "hits": { - "total": { - "value": 0, - "relation": "eq" - }, + "total": 0, "max_score": null, "hits": [] } }, "items": { "hits": { - "total": { - "value": 10, - "relation": "eq" - }, + "total": 28, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", - "_id": "b16775643", "_nested": { "field": "items", "offset": 0 @@ -2001,15 +1955,15 @@ ], "dateRange": [ { - "gte": "2012", - "lte": "2012" + "gte": "2008", + "lte": "2008" } ], "enumerationChronology": [ - "v. 38, no. 1, Issue 74 (Sum. 2012)" + "v. 56 (2008) & Index" ], "enumerationChronology_sort": [ - " 38-2012" + " 56-2008" ], "formatLiteral": [ "Text" @@ -2024,19 +1978,19 @@ "loc:rcmb2||Offsite" ], "idBarcode": [ - "33433115147914" + "33433099607917" ], "identifier": [ - "urn:shelfmark:JQL 08-3 v. 38, no. 1, Issue 74 (Sum. 2012)", - "urn:barcode:33433115147914" + "urn:shelfmark:JQL 08-19 v. 56 (2008) & Index", + "urn:barcode:33433099607917" ], "identifierV2": [ { - "value": "JQL 08-3 v. 38, no. 1, Issue 74 (Sum. 2012)", + "value": "JQL 08-19 v. 56 (2008) & Index", "type": "bf:ShelfMark" }, { - "value": "33433115147914", + "value": "33433099607917", "type": "bf:Barcode" } ], @@ -2050,7 +2004,7 @@ "orgs:1110||The Miriam and Ira D. Wallach Division of Art, Prints and Photographs: Art & Architecture Collection" ], "physicalLocation": [ - "JQL 08-3" + "JQL 08-19" ], "recapCustomerCode": [ "NQ" @@ -2059,9 +2013,9 @@ true ], "shelfMark": [ - "JQL 08-3 v. 38, no. 1, Issue 74 (Sum. 2012)" + "JQL 08-19 v. 56 (2008) & Index" ], - "shelfMark_sort": "aJQL 08-3 v. 000038, no. 1, Issue 74 (Sum. 2012)", + "shelfMark_sort": "aJQL 08-19 v. 000056 (2008) & Index", "status": [ { "id": "status:a", @@ -2076,19 +2030,17 @@ ], "volumeRange": [ { - "gte": 38, - "lte": 38 + "gte": 56, + "lte": 56 } ], - "uri": "i29405160" + "uri": "i28757051" }, "sort": [ - " 38-2012" + " 56-2008" ] }, { - "_index": "resources-2024-06-07", - "_id": "b16775643", "_nested": { "field": "items", "offset": 1 @@ -2115,15 +2067,15 @@ ], "dateRange": [ { - "gte": "1989", - "lte": "1990" + "gte": "2007", + "lte": "2007" } ], "enumerationChronology": [ - "v. 15-16 (1989-90)" + "v. 55 (2007) & Index" ], "enumerationChronology_sort": [ - " 15-1989" + " 55-2007" ], "formatLiteral": [ "Text" @@ -2138,19 +2090,19 @@ "loc:rcmb2||Offsite" ], "idBarcode": [ - "33433105255586" + "33433099608063" ], "identifier": [ - "urn:shelfmark:JQL 08-3 v. 15-16 (1989-90)", - "urn:barcode:33433105255586" + "urn:shelfmark:JQL 08-19 v. 55 (2007) & Index", + "urn:barcode:33433099608063" ], "identifierV2": [ { - "value": "JQL 08-3 v. 15-16 (1989-90)", + "value": "JQL 08-19 v. 55 (2007) & Index", "type": "bf:ShelfMark" }, { - "value": "33433105255586", + "value": "33433099608063", "type": "bf:Barcode" } ], @@ -2164,7 +2116,7 @@ "orgs:1110||The Miriam and Ira D. Wallach Division of Art, Prints and Photographs: Art & Architecture Collection" ], "physicalLocation": [ - "JQL 08-3" + "JQL 08-19" ], "recapCustomerCode": [ "NQ" @@ -2173,9 +2125,9 @@ true ], "shelfMark": [ - "JQL 08-3 v. 15-16 (1989-90)" + "JQL 08-19 v. 55 (2007) & Index" ], - "shelfMark_sort": "aJQL 08-3 v. 000015-16 (1989-90)", + "shelfMark_sort": "aJQL 08-19 v. 000055 (2007) & Index", "status": [ { "id": "status:a", @@ -2190,22 +2142,20 @@ ], "volumeRange": [ { - "gte": 15, - "lte": 16 + "gte": 55, + "lte": 55 } ], - "uri": "i29627807" + "uri": "i28756751" }, "sort": [ - " 15-1989" + " 55-2007" ] }, { - "_index": "resources-2024-06-07", - "_id": "b16775643", "_nested": { "field": "items", - "offset": 3 + "offset": 2 }, "_score": null, "_source": { @@ -2229,15 +2179,15 @@ ], "dateRange": [ { - "gte": "2000", - "lte": "2001" + "gte": "2006", + "lte": "2006" } ], "enumerationChronology": [ - "26-27 (2000-2001)" + "v. 54 (2006) & Index" ], "enumerationChronology_sort": [ - " -2000" + " 54-2006" ], "formatLiteral": [ "Text" @@ -2252,19 +2202,19 @@ "loc:rcmb2||Offsite" ], "idBarcode": [ - "33433074083142" + "33433099608188" ], "identifier": [ - "urn:shelfmark:JQL 08-3 26-27 (2000-2001)", - "urn:barcode:33433074083142" + "urn:shelfmark:JQL 08-19 v. 54 (2006) & Index", + "urn:barcode:33433099608188" ], "identifierV2": [ { - "value": "JQL 08-3 26-27 (2000-2001)", + "value": "JQL 08-19 v. 54 (2006) & Index", "type": "bf:ShelfMark" }, { - "value": "33433074083142", + "value": "33433099608188", "type": "bf:Barcode" } ], @@ -2278,7 +2228,7 @@ "orgs:1110||The Miriam and Ira D. Wallach Division of Art, Prints and Photographs: Art & Architecture Collection" ], "physicalLocation": [ - "JQL 08-3" + "JQL 08-19" ], "recapCustomerCode": [ "NQ" @@ -2287,9 +2237,9 @@ true ], "shelfMark": [ - "JQL 08-3 26-27 (2000-2001)" + "JQL 08-19 v. 54 (2006) & Index" ], - "shelfMark_sort": "aJQL 08-3 26-27 (2000-2001)", + "shelfMark_sort": "aJQL 08-19 v. 000054 (2006) & Index", "status": [ { "id": "status:a", @@ -2302,10 +2252,16 @@ "type": [ "bf:Item" ], - "uri": "i17662016" + "volumeRange": [ + { + "gte": 54, + "lte": 54 + } + ], + "uri": "i28756731" }, "sort": [ - " -2000" + " 54-2006" ] } ] @@ -2314,9 +2270,10 @@ } }, { - "_index": "resources-2024-06-07", + "_index": "resources-2018-04-09", + "_type": "resource", "_id": "b12525718", - "_score": 16.806889, + "_score": 15.428153, "_source": { "extent": [ "v. : ill. ;" @@ -2369,12 +2326,12 @@ "dateEndString": [ "9999" ], - "title": [ - "Bollettino dei Musei comunali di Roma" - ], "type": [ "nypl:Item" ], + "title": [ + "Bollettino dei Musei comunali di Roma" + ], "shelfMark": [ "JQL 08-17" ], @@ -2399,9 +2356,6 @@ "dateStartYear": [ 1954 ], - "idOclc": [ - "2785323" - ], "identifierV2": [ { "type": "bf:ShelfMark", @@ -2428,6 +2382,9 @@ "value": "(WaOLN)S010000043" } ], + "idOclc": [ + "2785323" + ], "dateEndYear": [ 9999 ], @@ -2764,46 +2721,38 @@ "placeOfPublication": [ "[Roma]" ], + "titleAlt": [ + "Boll. Mus. comunali Roma", + "Bollettino dei Musei comunali di Roma" + ], "issuance": [ { "id": "urn:biblevel:s", "label": "serial" } ], - "titleAlt": [ - "Boll. Mus. comunali Roma", - "Bollettino dei Musei comunali di Roma" - ], "dimensions": [ "25 cm." ] }, "sort": [ - 16.806889, + 15.428153, "b12525718" ], "inner_hits": { "electronicResources": { "hits": { - "total": { - "value": 0, - "relation": "eq" - }, + "total": 0, "max_score": null, "hits": [] } }, "items": { "hits": { - "total": { - "value": 45, - "relation": "eq" - }, + "total": 45, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", - "_id": "b12525718", "_nested": { "field": "items", "offset": 44 @@ -2881,8 +2830,6 @@ ] }, { - "_index": "resources-2024-06-07", - "_id": "b12525718", "_nested": { "field": "items", "offset": 43 @@ -2960,8 +2907,6 @@ ] }, { - "_index": "resources-2024-06-07", - "_id": "b12525718", "_nested": { "field": "items", "offset": 42 diff --git a/test/fixtures/query-81268d98a591ed0e1cc30eb119f79072.json b/test/fixtures/query-81268d98a591ed0e1cc30eb119f79072.json new file mode 100644 index 00000000..5ee7667b --- /dev/null +++ b/test/fixtures/query-81268d98a591ed0e1cc30eb119f79072.json @@ -0,0 +1,958 @@ +{ + "body": { + "took": 493, + "timed_out": false, + "_shards": { + "total": 3, + "successful": 3, + "failed": 0 + }, + "hits": { + "total": 1, + "max_score": null, + "hits": [ + { + "_index": "resources-2018-04-09", + "_type": "resource", + "_id": "b22144813", + "_score": 17.58589, + "_source": { + "extent": [ + "1234, [1] pages, x leaves : illustrations ;", + "1234, [1] p., x leaves : ill. ;", + "Third description instance : More 3rd instance ;" + ], + "partOf": [ + "In: -- 773 0b" + ], + "nyplSource": [ + "sierra-nypl" + ], + "serialPublicationDates": [ + "Publication Date (unformated) -- 362 1b" + ], + "publisherLiteral": [ + "Specious Publ. [prev.pub.-- 260.2b]", + "CopyCat pub. co. -- 260 bb" + ], + "language": [ + { + "id": "lang:eng", + "label": "English" + } + ], + "createdYear": [ + 201 + ], + "parallelTitle": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "type": [ + "nypl:Item" + ], + "shelfMark": [ + "Q-TAG (852 8b q tag. Staff call in bib.)" + ], + "idLccn": [ + "LCCN -- 010", + "9790001138673", + "ISMN", + "Danacode", + "UPC", + "EAN" + ], + "idIssn": [ + "ISSN -- 022" + ], + "seriesStatement": [ + "440 Series ; v. number -- 440 b0", + "490 Series ; v. number -- 490 0b", + "Author, of series. CMA Test Records. -- 800 1b", + "CMA (Cat). CMA Test Records -- 810 2b " + ], + "dateStartYear": [ + 201 + ], + "parallelCreatorLiteral": [ + "‏גלוגר,מרים פ." + ], + "identifierV2": [ + { + "type": "bf:ShelfMark", + "value": "Q-TAG (852 8b q tag. Staff call in bib.)" + }, + { + "type": "nypl:Bnumber", + "value": "22144813" + }, + { + "type": "bf:Isbn", + "value": "0123456789" + }, + { + "type": "bf:Isbn", + "value": "9780123456786 (qualifier)" + }, + { + "type": "bf:Isbn", + "value": "ISBN -- 020" + }, + { + "type": "bf:Isbn", + "identifierStatus": "canceled/invalid", + "value": "ISBN -- 020 $z" + }, + { + "type": "bf:Lccn", + "value": "LCCN -- 010" + }, + { + "type": "bf:Lccn", + "value": "9790001138673" + }, + { + "type": "bf:Lccn", + "value": "ISMN" + }, + { + "type": "bf:Lccn", + "value": "Danacode" + }, + { + "type": "bf:Lccn", + "value": "UPC" + }, + { + "type": "bf:Lccn", + "value": "EAN" + }, + { + "type": "bf:Issn", + "value": "ISSN -- 022" + }, + { + "type": "bf:Identifier", + "value": "Report number. -- 027" + }, + { + "type": "bf:Identifier", + "value": "Publisher no. -- 028 02 " + }, + { + "type": "bf:Identifier", + "value": "Standard number (old RLIN, etc.) -- 035" + }, + { + "type": "bf:Identifier", + "value": "Sudoc no. -- 086" + }, + { + "type": "bf:Identifier", + "value": "GPO Item number. -- 074" + } + ], + "formerTitle": [ + "Former title -- 247 00" + ], + "updatedAt": 1711656889146, + "publicationStatement": [ + "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", + "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "identifier": [ + "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", + "urn:bnum:22144813", + "urn:isbn:0123456789", + "urn:isbn:9780123456786 (qualifier)", + "urn:isbn:ISBN -- 020", + "urn:isbn:ISBN -- 020 $z", + "urn:lccn:LCCN -- 010", + "urn:lccn:9790001138673", + "urn:lccn:ISMN", + "urn:lccn:Danacode", + "urn:lccn:UPC", + "urn:lccn:EAN", + "urn:issn:ISSN -- 022", + "urn:identifier:Report number. -- 027", + "urn:identifier:Publisher no. -- 028 02 ", + "urn:identifier:Standard number (old RLIN, etc.) -- 035", + "urn:identifier:Sudoc no. -- 086", + "urn:identifier:GPO Item number. -- 074" + ], + "mediaType": [ + { + "id": "mediatypes:n", + "label": "unmediated" + } + ], + "subjectLiteral": [ + "Starving artist -- 600 00.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term -- 653" + ], + "titleAlt": [ + "Abrev. title -- 210 ", + "Key title -- 222 ", + "T tagged 240 Uniform title -- t240", + "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", + "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", + "Portion of title 246 30", + "Parallel title 246 31", + "Distinctive title 246 12", + "Other title 246 13", + "Cover title 246 14", + "Cover title 246 04", + "Added title page title 246 15", + "Running title 246 17", + "Caption title 246 16", + "Spine title 246 18", + "No type of title specified 246 3 blank", + "246 1 blank", + "Zaglavie Russiĭi", + "Added title -- 740 0b" + ], + "tableOfContents": [ + "Complete table of contents. -- 505 0b", + "1. Incomplete table of contents. -- First instance.-- 505 1b", + "2. Incomplete table of contents -- Second instance. 505 1b", + "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", + "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." + ], + "note": [ + { + "noteType": "Note", + "label": "Ordinary note. -- 500", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "²³¹", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "⠀⠀⠀\\___( ツ )___", + "type": "bf:Note" + }, + { + "noteType": "With", + "label": "Bound with note. -- 501", + "type": "bf:Note" + }, + { + "noteType": "Thesis", + "label": "Thesis -- (degree) note. -- 502", + "type": "bf:Note" + }, + { + "noteType": "Bibliography", + "label": "Includes bibliographical references (p. [1235]). -- 504", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Access -- 506 blank,any", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Restricted Access -- 506 1,any", + "type": "bf:Note" + }, + { + "noteType": "Scale", + "label": "Scale (graphic) -- 507", + "type": "bf:Note" + }, + { + "noteType": "Credits", + "label": "Credits (Creation/production credits note) -- 508", + "type": "bf:Note" + }, + { + "noteType": "Performer", + "label": "Cast --511 1b", + "type": "bf:Note" + }, + { + "noteType": "Type of Report", + "label": "Type of Report. -- 513", + "type": "bf:Note" + }, + { + "noteType": "Data Quality", + "label": "Data quality -- 514", + "type": "bf:Note" + }, + { + "noteType": "Numbering", + "label": "Completely irregular. -- 515", + "type": "bf:Note" + }, + { + "noteType": "File Type", + "label": "File type. -- 516", + "type": "bf:Note" + }, + { + "noteType": "Event", + "label": "Event. -- 518", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience (2): Test of 2nd 521 field.", + "type": "bf:Note" + }, + { + "noteType": "Coverage", + "label": "Coverage -- 522", + "type": "bf:Note" + }, + { + "noteType": "Cite As", + "label": "Cite as: The Mega-MARC test record. -- 524", + "type": "bf:Note" + }, + { + "noteType": "Supplement", + "label": "Supplement -- 525", + "type": "bf:Note" + }, + { + "noteType": "Study Program", + "label": "Study program -- 526 8b ", + "type": "bf:Note" + }, + { + "noteType": "Additional Formats", + "label": "Other test records available. -- 530", + "type": "bf:Note" + }, + { + "noteType": "Reproduction", + "label": "Microfilm.", + "type": "bf:Note" + }, + { + "noteType": "Original Location", + "label": "Original location in SASB -- 535", + "type": "bf:Note" + }, + { + "noteType": "Funding", + "label": "Funding -- 536", + "type": "bf:Note" + }, + { + "noteType": "System Details", + "label": "System Details -- 538", + "type": "bf:Note" + }, + { + "noteType": "Terms of Use", + "label": "Use as test record -- 540", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source display-- 5411b", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", + "type": "bf:Note" + }, + { + "noteType": "Location of Other Archival Materials", + "label": "Location of Other Archival Materials -- 544", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 545", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 5451 Administrative history", + "type": "bf:Note" + }, + { + "noteType": "Language", + "label": "In English and non-roman scripts. -- 546", + "type": "bf:Note" + }, + { + "noteType": "Former Title", + "label": "Former title (complexity note) -- 547", + "type": "bf:Note" + }, + { + "noteType": "Issued By", + "label": "Issued by CCO -- 550", + "type": "bf:Note" + }, + { + "noteType": "Indexes/Finding Aids", + "label": "Indexes -- 555 bb", + "type": "bf:Note" + }, + { + "noteType": "Documentation", + "label": "Documentation (information about, note) -- 556", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance display --5611b", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", + "type": "bf:Note" + }, + { + "noteType": "Copy/Version", + "label": "Copy/Version (identification note) -- 562", + "type": "bf:Note" + }, + { + "noteType": "Binding", + "label": "Binding -- 563", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Complemented by Linking entry: Bogus title -- 580", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Linking Entry (complexity note) -- 580", + "type": "bf:Note" + }, + { + "noteType": "Publications", + "label": "Publications (about described material note) -- 581", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action display --583 1b", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", + "type": "bf:Note" + }, + { + "noteType": "Exhibitions", + "label": "Exhibitions -- 585", + "type": "bf:Note" + }, + { + "noteType": "Awards", + "label": "Awards -- 586", + "type": "bf:Note" + }, + { + "noteType": "Source of Description", + "label": "Latest issue consulted: 1900/1901. -- 588 1b", + "type": "bf:Note" + } + ], + "subjectLiteral_exploded": [ + "Starving artist", + "Starving artist -- 600 00", + "Artist, Starving, 1900-1999", + "Artist, Starving, 1900-1999 -- Autobiography.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject.", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers", + "Secret Society of Catalogers -- Periodicals.", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield", + "testing x as first subfield -- testing v as second subfield.", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", + "Conference subject entry.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield)", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g", + "testing 4 testing a testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title", + "Life is a common square.", + "Life is a common square. -- Criticism.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g", + "testing 4 testing a testing d testing e testing g -- testing v", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting", + "Textile industry testing datetesting -- 650 b0 $z, $x", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e", + "testing 4 testing a testing b testing c testing d testing e -- testing v", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.)", + "New York (N.Y.) -- 21st century", + "New York (N.Y.) -- 21st century -- Diaries.", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country.", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g", + "testing 4 testing a testing e testing g -- testing v", + "testing 4 testing a testing e testing g -- testing v -- testing x", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term", + "Indexed term -- 653" + ], + "numItemDatesParsed": [ + 0 + ], + "description": [ + "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", + "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" + ], + "numItemsTotal": [ + 2 + ], + "dateEndString": [ + "2011" + ], + "title": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" + ], + "numItemVolumesParsed": [ + 1 + ], + "createdString": [ + "201" + ], + "creatorLiteral": [ + "Gloger, Miriam.", + "BookOps. Cataloging. --110 2b ab.", + "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" + ], + "numElectronicResources": [ + 4 + ], + "contributorLiteral": [ + "Cramer, Richard, 1948-.", + "Cramer, Richard, 1948-", + "Bayer, Jeffrey.", + "Bayer, Jeffrey", + "New York Public Library Database Management Group. -- 710 2b", + "Conference added author. 711 2b", + "Added entry (uncontrolled name) -- 7201", + "Cramer, Richard, 1948- fmo", + "Virtual collection -- 791 2b" + ], + "donor": [ + "Donor / Sponsor -- 799 bb" + ], + "uniformTitle": [ + "T tagged 240 Uniform title -- t240", + "Added title -- 730 0b", + "CMA Test Records -- 830 b0" + ], + "dateEndYear": [ + 2011 + ], + "parallelTitleAlt": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "зглавие руссий" + ], + "genreForm": [ + "Genre heading.", + "Blank pages and looks – Someplace – 1990.", + "testing a – testing b – testing c – testing v – testing x – testing y – testing z" + ], + "idIsbn": [ + "0123456789", + "9780123456786 (qualifier)", + "ISBN -- 020" + ], + "numCheckinCardItems": [ + 0 + ], + "materialType": [ + { + "id": "resourcetypes:txt", + "label": "Text" + } + ], + "carrierType": [ + { + "id": "carriertypes:nc", + "label": "volume" + } + ], + "dateString": [ + "201" + ], + "titleDisplay": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." + ], + "uri": "b22144813", + "electronicResources": [ + { + "label": "856 40", + "url": "http://blogs.nypl.org/rcramer/" + }, + { + "label": "Yizkor Book (NYPL resource) 856 41", + "url": "http://yizkor.nypl.org/index.php?id=2936" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" + } + ], + "parallelTitleDisplay": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "placeOfPublication": [ + "[s.l.]", + "Long Island CIty, N.Y.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "issuance": [ + { + "id": "urn:biblevel:m", + "label": "monograph/item" + } + ], + "supplementaryContent": [ + { + "label": "Contents", + "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" + } + ], + "dimensions": [ + "26 cm +", + "26 cm. +", + "More 3rd instance -- 300 (3rd instance)" + ], + "idIsbn_clean": [ + "0123456789", + "9780123456786", + "020" + ] + }, + "sort": [ + 17.58589, + "b22144813" + ], + "inner_hits": { + "electronicResources": { + "hits": { + "total": 0, + "max_score": null, + "hits": [] + } + }, + "items": { + "hits": { + "total": 2, + "max_score": null, + "hits": [ + { + "_nested": { + "field": "items", + "offset": 0 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:1", + "label": "Use in library" + } + ], + "accessMessage_packed": [ + "accessMessage:1||Use in library" + ], + "catalogItemType": [ + { + "id": "catalogItemType:2", + "label": "book non-circ" + } + ], + "catalogItemType_packed": [ + "catalogItemType:2||book non-circ" + ], + "enumerationChronology": [ + "v.1" + ], + "enumerationChronology_sort": [ + " 1-" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:mall1", + "label": "Schwarzman Building - Main Reading Room 315 - Reference" + } + ], + "holdingLocation_packed": [ + "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" + ], + "idBarcode": [ + "3333333333" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "urn:barcode:3333333333" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "type": "bf:ShelfMark" + }, + { + "value": "3333333333", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1101", + "label": "General Research Division" + } + ], + "owner_packed": [ + "orgs:1101||General Research Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + false + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", + "status": [ + { + "id": "status:k", + "label": "Check with staff" + } + ], + "status_packed": [ + "status:k||Check with staff" + ], + "type": [ + "bf:Item" + ], + "volumeRange": [ + { + "gte": 1, + "lte": 1 + } + ], + "uri": "i37857771" + }, + "sort": [ + " 1-" + ] + }, + { + "_nested": { + "field": "items", + "offset": 1 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:2", + "label": "Request in advance" + } + ], + "accessMessage_packed": [ + "accessMessage:2||Request in advance" + ], + "catalogItemType": [ + { + "id": "catalogItemType:3", + "label": "serial" + } + ], + "catalogItemType_packed": [ + "catalogItemType:3||serial" + ], + "enumerationChronology": [ + "nothing" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:rcmf2", + "label": "Offsite" + } + ], + "holdingLocation_packed": [ + "loc:rcmf2||Offsite" + ], + "idBarcode": [ + "44455533322211" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "urn:barcode:44455533322211" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "type": "bf:ShelfMark" + }, + { + "value": "44455533322211", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1103", + "label": "Dorot Jewish Division" + } + ], + "owner_packed": [ + "orgs:1103||Dorot Jewish Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + true + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "status": [ + { + "id": "status:a", + "label": "Available" + } + ], + "status_packed": [ + "status:a||Available" + ], + "type": [ + "bf:Item" + ], + "uri": "i37857772" + }, + "sort": [ + null + ] + } + ] + } + } + } + } + ] + } + }, + "statusCode": 200 +} \ No newline at end of file diff --git a/test/fixtures/query-844a4e28490811b6331c646a4fb6ca95.json b/test/fixtures/query-844a4e28490811b6331c646a4fb6ca95.json new file mode 100644 index 00000000..765599d9 --- /dev/null +++ b/test/fixtures/query-844a4e28490811b6331c646a4fb6ca95.json @@ -0,0 +1,958 @@ +{ + "body": { + "took": 1753, + "timed_out": false, + "_shards": { + "total": 3, + "successful": 3, + "failed": 0 + }, + "hits": { + "total": 1, + "max_score": null, + "hits": [ + { + "_index": "resources-2018-04-09", + "_type": "resource", + "_id": "b22144813", + "_score": 776.99646, + "_source": { + "extent": [ + "1234, [1] pages, x leaves : illustrations ;", + "1234, [1] p., x leaves : ill. ;", + "Third description instance : More 3rd instance ;" + ], + "partOf": [ + "In: -- 773 0b" + ], + "nyplSource": [ + "sierra-nypl" + ], + "serialPublicationDates": [ + "Publication Date (unformated) -- 362 1b" + ], + "publisherLiteral": [ + "Specious Publ. [prev.pub.-- 260.2b]", + "CopyCat pub. co. -- 260 bb" + ], + "language": [ + { + "id": "lang:eng", + "label": "English" + } + ], + "createdYear": [ + 201 + ], + "parallelTitle": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "type": [ + "nypl:Item" + ], + "shelfMark": [ + "Q-TAG (852 8b q tag. Staff call in bib.)" + ], + "idLccn": [ + "LCCN -- 010", + "9790001138673", + "ISMN", + "Danacode", + "UPC", + "EAN" + ], + "idIssn": [ + "ISSN -- 022" + ], + "seriesStatement": [ + "440 Series ; v. number -- 440 b0", + "490 Series ; v. number -- 490 0b", + "Author, of series. CMA Test Records. -- 800 1b", + "CMA (Cat). CMA Test Records -- 810 2b " + ], + "dateStartYear": [ + 201 + ], + "parallelCreatorLiteral": [ + "‏גלוגר,מרים פ." + ], + "identifierV2": [ + { + "type": "bf:ShelfMark", + "value": "Q-TAG (852 8b q tag. Staff call in bib.)" + }, + { + "type": "nypl:Bnumber", + "value": "22144813" + }, + { + "type": "bf:Isbn", + "value": "0123456789" + }, + { + "type": "bf:Isbn", + "value": "9780123456786 (qualifier)" + }, + { + "type": "bf:Isbn", + "value": "ISBN -- 020" + }, + { + "type": "bf:Isbn", + "identifierStatus": "canceled/invalid", + "value": "ISBN -- 020 $z" + }, + { + "type": "bf:Lccn", + "value": "LCCN -- 010" + }, + { + "type": "bf:Lccn", + "value": "9790001138673" + }, + { + "type": "bf:Lccn", + "value": "ISMN" + }, + { + "type": "bf:Lccn", + "value": "Danacode" + }, + { + "type": "bf:Lccn", + "value": "UPC" + }, + { + "type": "bf:Lccn", + "value": "EAN" + }, + { + "type": "bf:Issn", + "value": "ISSN -- 022" + }, + { + "type": "bf:Identifier", + "value": "Report number. -- 027" + }, + { + "type": "bf:Identifier", + "value": "Publisher no. -- 028 02 " + }, + { + "type": "bf:Identifier", + "value": "Standard number (old RLIN, etc.) -- 035" + }, + { + "type": "bf:Identifier", + "value": "Sudoc no. -- 086" + }, + { + "type": "bf:Identifier", + "value": "GPO Item number. -- 074" + } + ], + "formerTitle": [ + "Former title -- 247 00" + ], + "updatedAt": 1711656889146, + "publicationStatement": [ + "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", + "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "identifier": [ + "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", + "urn:bnum:22144813", + "urn:isbn:0123456789", + "urn:isbn:9780123456786 (qualifier)", + "urn:isbn:ISBN -- 020", + "urn:isbn:ISBN -- 020 $z", + "urn:lccn:LCCN -- 010", + "urn:lccn:9790001138673", + "urn:lccn:ISMN", + "urn:lccn:Danacode", + "urn:lccn:UPC", + "urn:lccn:EAN", + "urn:issn:ISSN -- 022", + "urn:identifier:Report number. -- 027", + "urn:identifier:Publisher no. -- 028 02 ", + "urn:identifier:Standard number (old RLIN, etc.) -- 035", + "urn:identifier:Sudoc no. -- 086", + "urn:identifier:GPO Item number. -- 074" + ], + "mediaType": [ + { + "id": "mediatypes:n", + "label": "unmediated" + } + ], + "subjectLiteral": [ + "Starving artist -- 600 00.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term -- 653" + ], + "titleAlt": [ + "Abrev. title -- 210 ", + "Key title -- 222 ", + "T tagged 240 Uniform title -- t240", + "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", + "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", + "Portion of title 246 30", + "Parallel title 246 31", + "Distinctive title 246 12", + "Other title 246 13", + "Cover title 246 14", + "Cover title 246 04", + "Added title page title 246 15", + "Running title 246 17", + "Caption title 246 16", + "Spine title 246 18", + "No type of title specified 246 3 blank", + "246 1 blank", + "Zaglavie Russiĭi", + "Added title -- 740 0b" + ], + "tableOfContents": [ + "Complete table of contents. -- 505 0b", + "1. Incomplete table of contents. -- First instance.-- 505 1b", + "2. Incomplete table of contents -- Second instance. 505 1b", + "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", + "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." + ], + "note": [ + { + "noteType": "Note", + "label": "Ordinary note. -- 500", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "²³¹", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "⠀⠀⠀\\___( ツ )___", + "type": "bf:Note" + }, + { + "noteType": "With", + "label": "Bound with note. -- 501", + "type": "bf:Note" + }, + { + "noteType": "Thesis", + "label": "Thesis -- (degree) note. -- 502", + "type": "bf:Note" + }, + { + "noteType": "Bibliography", + "label": "Includes bibliographical references (p. [1235]). -- 504", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Access -- 506 blank,any", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Restricted Access -- 506 1,any", + "type": "bf:Note" + }, + { + "noteType": "Scale", + "label": "Scale (graphic) -- 507", + "type": "bf:Note" + }, + { + "noteType": "Credits", + "label": "Credits (Creation/production credits note) -- 508", + "type": "bf:Note" + }, + { + "noteType": "Performer", + "label": "Cast --511 1b", + "type": "bf:Note" + }, + { + "noteType": "Type of Report", + "label": "Type of Report. -- 513", + "type": "bf:Note" + }, + { + "noteType": "Data Quality", + "label": "Data quality -- 514", + "type": "bf:Note" + }, + { + "noteType": "Numbering", + "label": "Completely irregular. -- 515", + "type": "bf:Note" + }, + { + "noteType": "File Type", + "label": "File type. -- 516", + "type": "bf:Note" + }, + { + "noteType": "Event", + "label": "Event. -- 518", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience (2): Test of 2nd 521 field.", + "type": "bf:Note" + }, + { + "noteType": "Coverage", + "label": "Coverage -- 522", + "type": "bf:Note" + }, + { + "noteType": "Cite As", + "label": "Cite as: The Mega-MARC test record. -- 524", + "type": "bf:Note" + }, + { + "noteType": "Supplement", + "label": "Supplement -- 525", + "type": "bf:Note" + }, + { + "noteType": "Study Program", + "label": "Study program -- 526 8b ", + "type": "bf:Note" + }, + { + "noteType": "Additional Formats", + "label": "Other test records available. -- 530", + "type": "bf:Note" + }, + { + "noteType": "Reproduction", + "label": "Microfilm.", + "type": "bf:Note" + }, + { + "noteType": "Original Location", + "label": "Original location in SASB -- 535", + "type": "bf:Note" + }, + { + "noteType": "Funding", + "label": "Funding -- 536", + "type": "bf:Note" + }, + { + "noteType": "System Details", + "label": "System Details -- 538", + "type": "bf:Note" + }, + { + "noteType": "Terms of Use", + "label": "Use as test record -- 540", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source display-- 5411b", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", + "type": "bf:Note" + }, + { + "noteType": "Location of Other Archival Materials", + "label": "Location of Other Archival Materials -- 544", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 545", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 5451 Administrative history", + "type": "bf:Note" + }, + { + "noteType": "Language", + "label": "In English and non-roman scripts. -- 546", + "type": "bf:Note" + }, + { + "noteType": "Former Title", + "label": "Former title (complexity note) -- 547", + "type": "bf:Note" + }, + { + "noteType": "Issued By", + "label": "Issued by CCO -- 550", + "type": "bf:Note" + }, + { + "noteType": "Indexes/Finding Aids", + "label": "Indexes -- 555 bb", + "type": "bf:Note" + }, + { + "noteType": "Documentation", + "label": "Documentation (information about, note) -- 556", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance display --5611b", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", + "type": "bf:Note" + }, + { + "noteType": "Copy/Version", + "label": "Copy/Version (identification note) -- 562", + "type": "bf:Note" + }, + { + "noteType": "Binding", + "label": "Binding -- 563", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Complemented by Linking entry: Bogus title -- 580", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Linking Entry (complexity note) -- 580", + "type": "bf:Note" + }, + { + "noteType": "Publications", + "label": "Publications (about described material note) -- 581", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action display --583 1b", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", + "type": "bf:Note" + }, + { + "noteType": "Exhibitions", + "label": "Exhibitions -- 585", + "type": "bf:Note" + }, + { + "noteType": "Awards", + "label": "Awards -- 586", + "type": "bf:Note" + }, + { + "noteType": "Source of Description", + "label": "Latest issue consulted: 1900/1901. -- 588 1b", + "type": "bf:Note" + } + ], + "subjectLiteral_exploded": [ + "Starving artist", + "Starving artist -- 600 00", + "Artist, Starving, 1900-1999", + "Artist, Starving, 1900-1999 -- Autobiography.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject.", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers", + "Secret Society of Catalogers -- Periodicals.", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield", + "testing x as first subfield -- testing v as second subfield.", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", + "Conference subject entry.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield)", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g", + "testing 4 testing a testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title", + "Life is a common square.", + "Life is a common square. -- Criticism.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g", + "testing 4 testing a testing d testing e testing g -- testing v", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting", + "Textile industry testing datetesting -- 650 b0 $z, $x", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e", + "testing 4 testing a testing b testing c testing d testing e -- testing v", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.)", + "New York (N.Y.) -- 21st century", + "New York (N.Y.) -- 21st century -- Diaries.", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country.", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g", + "testing 4 testing a testing e testing g -- testing v", + "testing 4 testing a testing e testing g -- testing v -- testing x", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term", + "Indexed term -- 653" + ], + "numItemDatesParsed": [ + 0 + ], + "description": [ + "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", + "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" + ], + "numItemsTotal": [ + 2 + ], + "dateEndString": [ + "2011" + ], + "title": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" + ], + "numItemVolumesParsed": [ + 1 + ], + "createdString": [ + "201" + ], + "creatorLiteral": [ + "Gloger, Miriam.", + "BookOps. Cataloging. --110 2b ab.", + "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" + ], + "numElectronicResources": [ + 4 + ], + "contributorLiteral": [ + "Cramer, Richard, 1948-.", + "Cramer, Richard, 1948-", + "Bayer, Jeffrey.", + "Bayer, Jeffrey", + "New York Public Library Database Management Group. -- 710 2b", + "Conference added author. 711 2b", + "Added entry (uncontrolled name) -- 7201", + "Cramer, Richard, 1948- fmo", + "Virtual collection -- 791 2b" + ], + "donor": [ + "Donor / Sponsor -- 799 bb" + ], + "uniformTitle": [ + "T tagged 240 Uniform title -- t240", + "Added title -- 730 0b", + "CMA Test Records -- 830 b0" + ], + "dateEndYear": [ + 2011 + ], + "parallelTitleAlt": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "зглавие руссий" + ], + "genreForm": [ + "Genre heading.", + "Blank pages and looks – Someplace – 1990.", + "testing a – testing b – testing c – testing v – testing x – testing y – testing z" + ], + "idIsbn": [ + "0123456789", + "9780123456786 (qualifier)", + "ISBN -- 020" + ], + "numCheckinCardItems": [ + 0 + ], + "materialType": [ + { + "id": "resourcetypes:txt", + "label": "Text" + } + ], + "carrierType": [ + { + "id": "carriertypes:nc", + "label": "volume" + } + ], + "dateString": [ + "201" + ], + "titleDisplay": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." + ], + "uri": "b22144813", + "electronicResources": [ + { + "label": "856 40", + "url": "http://blogs.nypl.org/rcramer/" + }, + { + "label": "Yizkor Book (NYPL resource) 856 41", + "url": "http://yizkor.nypl.org/index.php?id=2936" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" + } + ], + "parallelTitleDisplay": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "placeOfPublication": [ + "[s.l.]", + "Long Island CIty, N.Y.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "issuance": [ + { + "id": "urn:biblevel:m", + "label": "monograph/item" + } + ], + "supplementaryContent": [ + { + "label": "Contents", + "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" + } + ], + "dimensions": [ + "26 cm +", + "26 cm. +", + "More 3rd instance -- 300 (3rd instance)" + ], + "idIsbn_clean": [ + "0123456789", + "9780123456786", + "020" + ] + }, + "sort": [ + 776.99646, + "b22144813" + ], + "inner_hits": { + "electronicResources": { + "hits": { + "total": 0, + "max_score": null, + "hits": [] + } + }, + "items": { + "hits": { + "total": 2, + "max_score": null, + "hits": [ + { + "_nested": { + "field": "items", + "offset": 0 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:1", + "label": "Use in library" + } + ], + "accessMessage_packed": [ + "accessMessage:1||Use in library" + ], + "catalogItemType": [ + { + "id": "catalogItemType:2", + "label": "book non-circ" + } + ], + "catalogItemType_packed": [ + "catalogItemType:2||book non-circ" + ], + "enumerationChronology": [ + "v.1" + ], + "enumerationChronology_sort": [ + " 1-" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:mall1", + "label": "Schwarzman Building - Main Reading Room 315 - Reference" + } + ], + "holdingLocation_packed": [ + "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" + ], + "idBarcode": [ + "3333333333" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "urn:barcode:3333333333" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "type": "bf:ShelfMark" + }, + { + "value": "3333333333", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1101", + "label": "General Research Division" + } + ], + "owner_packed": [ + "orgs:1101||General Research Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + false + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", + "status": [ + { + "id": "status:k", + "label": "Check with staff" + } + ], + "status_packed": [ + "status:k||Check with staff" + ], + "type": [ + "bf:Item" + ], + "volumeRange": [ + { + "gte": 1, + "lte": 1 + } + ], + "uri": "i37857771" + }, + "sort": [ + " 1-" + ] + }, + { + "_nested": { + "field": "items", + "offset": 1 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:2", + "label": "Request in advance" + } + ], + "accessMessage_packed": [ + "accessMessage:2||Request in advance" + ], + "catalogItemType": [ + { + "id": "catalogItemType:3", + "label": "serial" + } + ], + "catalogItemType_packed": [ + "catalogItemType:3||serial" + ], + "enumerationChronology": [ + "nothing" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:rcmf2", + "label": "Offsite" + } + ], + "holdingLocation_packed": [ + "loc:rcmf2||Offsite" + ], + "idBarcode": [ + "44455533322211" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "urn:barcode:44455533322211" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "type": "bf:ShelfMark" + }, + { + "value": "44455533322211", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1103", + "label": "Dorot Jewish Division" + } + ], + "owner_packed": [ + "orgs:1103||Dorot Jewish Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + true + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "status": [ + { + "id": "status:a", + "label": "Available" + } + ], + "status_packed": [ + "status:a||Available" + ], + "type": [ + "bf:Item" + ], + "uri": "i37857772" + }, + "sort": [ + null + ] + } + ] + } + } + } + } + ] + } + }, + "statusCode": 200 +} \ No newline at end of file diff --git a/test/fixtures/query-05154802f70bca2716e997a029531803.json b/test/fixtures/query-8537ea753999fdf0165766b8c2f102e7.json similarity index 93% rename from test/fixtures/query-05154802f70bca2716e997a029531803.json rename to test/fixtures/query-8537ea753999fdf0165766b8c2f102e7.json index 8d77e0fd..fc310ae3 100644 --- a/test/fixtures/query-05154802f70bca2716e997a029531803.json +++ b/test/fixtures/query-8537ea753999fdf0165766b8c2f102e7.json @@ -1,24 +1,21 @@ { "body": { - "took": 128, + "took": 663, "timed_out": false, "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, + "total": 3, + "successful": 3, "failed": 0 }, "hits": { - "total": { - "value": 1, - "relation": "eq" - }, + "total": 1, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", + "_index": "resources-2018-04-09", + "_type": "resource", "_id": "b13627363", - "_score": 129.8212, + "_score": 130.0303, "_source": { "extent": [ "128 p. illus." @@ -163,31 +160,23 @@ ] }, "sort": [ - 129.8212, + 130.0303, "b13627363" ], "inner_hits": { "electronicResources": { "hits": { - "total": { - "value": 0, - "relation": "eq" - }, + "total": 0, "max_score": null, "hits": [] } }, "items": { "hits": { - "total": { - "value": 1, - "relation": "eq" - }, + "total": 1, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", - "_id": "b13627363", "_nested": { "field": "items", "offset": 0 diff --git a/test/fixtures/query-85f068281bf72b39c3debd3978323b12.json b/test/fixtures/query-85f068281bf72b39c3debd3978323b12.json new file mode 100644 index 00000000..e9e09325 --- /dev/null +++ b/test/fixtures/query-85f068281bf72b39c3debd3978323b12.json @@ -0,0 +1,958 @@ +{ + "body": { + "took": 277, + "timed_out": false, + "_shards": { + "total": 3, + "successful": 3, + "failed": 0 + }, + "hits": { + "total": 1, + "max_score": null, + "hits": [ + { + "_index": "resources-2018-04-09", + "_type": "resource", + "_id": "b22144813", + "_score": 17.58589, + "_source": { + "extent": [ + "1234, [1] pages, x leaves : illustrations ;", + "1234, [1] p., x leaves : ill. ;", + "Third description instance : More 3rd instance ;" + ], + "partOf": [ + "In: -- 773 0b" + ], + "nyplSource": [ + "sierra-nypl" + ], + "serialPublicationDates": [ + "Publication Date (unformated) -- 362 1b" + ], + "publisherLiteral": [ + "Specious Publ. [prev.pub.-- 260.2b]", + "CopyCat pub. co. -- 260 bb" + ], + "language": [ + { + "id": "lang:eng", + "label": "English" + } + ], + "createdYear": [ + 201 + ], + "parallelTitle": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "type": [ + "nypl:Item" + ], + "shelfMark": [ + "Q-TAG (852 8b q tag. Staff call in bib.)" + ], + "idLccn": [ + "LCCN -- 010", + "9790001138673", + "ISMN", + "Danacode", + "UPC", + "EAN" + ], + "idIssn": [ + "ISSN -- 022" + ], + "seriesStatement": [ + "440 Series ; v. number -- 440 b0", + "490 Series ; v. number -- 490 0b", + "Author, of series. CMA Test Records. -- 800 1b", + "CMA (Cat). CMA Test Records -- 810 2b " + ], + "dateStartYear": [ + 201 + ], + "parallelCreatorLiteral": [ + "‏גלוגר,מרים פ." + ], + "identifierV2": [ + { + "type": "bf:ShelfMark", + "value": "Q-TAG (852 8b q tag. Staff call in bib.)" + }, + { + "type": "nypl:Bnumber", + "value": "22144813" + }, + { + "type": "bf:Isbn", + "value": "0123456789" + }, + { + "type": "bf:Isbn", + "value": "9780123456786 (qualifier)" + }, + { + "type": "bf:Isbn", + "value": "ISBN -- 020" + }, + { + "type": "bf:Isbn", + "identifierStatus": "canceled/invalid", + "value": "ISBN -- 020 $z" + }, + { + "type": "bf:Lccn", + "value": "LCCN -- 010" + }, + { + "type": "bf:Lccn", + "value": "9790001138673" + }, + { + "type": "bf:Lccn", + "value": "ISMN" + }, + { + "type": "bf:Lccn", + "value": "Danacode" + }, + { + "type": "bf:Lccn", + "value": "UPC" + }, + { + "type": "bf:Lccn", + "value": "EAN" + }, + { + "type": "bf:Issn", + "value": "ISSN -- 022" + }, + { + "type": "bf:Identifier", + "value": "Report number. -- 027" + }, + { + "type": "bf:Identifier", + "value": "Publisher no. -- 028 02 " + }, + { + "type": "bf:Identifier", + "value": "Standard number (old RLIN, etc.) -- 035" + }, + { + "type": "bf:Identifier", + "value": "Sudoc no. -- 086" + }, + { + "type": "bf:Identifier", + "value": "GPO Item number. -- 074" + } + ], + "formerTitle": [ + "Former title -- 247 00" + ], + "updatedAt": 1711656889146, + "publicationStatement": [ + "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", + "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "identifier": [ + "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", + "urn:bnum:22144813", + "urn:isbn:0123456789", + "urn:isbn:9780123456786 (qualifier)", + "urn:isbn:ISBN -- 020", + "urn:isbn:ISBN -- 020 $z", + "urn:lccn:LCCN -- 010", + "urn:lccn:9790001138673", + "urn:lccn:ISMN", + "urn:lccn:Danacode", + "urn:lccn:UPC", + "urn:lccn:EAN", + "urn:issn:ISSN -- 022", + "urn:identifier:Report number. -- 027", + "urn:identifier:Publisher no. -- 028 02 ", + "urn:identifier:Standard number (old RLIN, etc.) -- 035", + "urn:identifier:Sudoc no. -- 086", + "urn:identifier:GPO Item number. -- 074" + ], + "mediaType": [ + { + "id": "mediatypes:n", + "label": "unmediated" + } + ], + "subjectLiteral": [ + "Starving artist -- 600 00.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term -- 653" + ], + "titleAlt": [ + "Abrev. title -- 210 ", + "Key title -- 222 ", + "T tagged 240 Uniform title -- t240", + "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", + "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", + "Portion of title 246 30", + "Parallel title 246 31", + "Distinctive title 246 12", + "Other title 246 13", + "Cover title 246 14", + "Cover title 246 04", + "Added title page title 246 15", + "Running title 246 17", + "Caption title 246 16", + "Spine title 246 18", + "No type of title specified 246 3 blank", + "246 1 blank", + "Zaglavie Russiĭi", + "Added title -- 740 0b" + ], + "tableOfContents": [ + "Complete table of contents. -- 505 0b", + "1. Incomplete table of contents. -- First instance.-- 505 1b", + "2. Incomplete table of contents -- Second instance. 505 1b", + "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", + "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." + ], + "note": [ + { + "noteType": "Note", + "label": "Ordinary note. -- 500", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "²³¹", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "⠀⠀⠀\\___( ツ )___", + "type": "bf:Note" + }, + { + "noteType": "With", + "label": "Bound with note. -- 501", + "type": "bf:Note" + }, + { + "noteType": "Thesis", + "label": "Thesis -- (degree) note. -- 502", + "type": "bf:Note" + }, + { + "noteType": "Bibliography", + "label": "Includes bibliographical references (p. [1235]). -- 504", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Access -- 506 blank,any", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Restricted Access -- 506 1,any", + "type": "bf:Note" + }, + { + "noteType": "Scale", + "label": "Scale (graphic) -- 507", + "type": "bf:Note" + }, + { + "noteType": "Credits", + "label": "Credits (Creation/production credits note) -- 508", + "type": "bf:Note" + }, + { + "noteType": "Performer", + "label": "Cast --511 1b", + "type": "bf:Note" + }, + { + "noteType": "Type of Report", + "label": "Type of Report. -- 513", + "type": "bf:Note" + }, + { + "noteType": "Data Quality", + "label": "Data quality -- 514", + "type": "bf:Note" + }, + { + "noteType": "Numbering", + "label": "Completely irregular. -- 515", + "type": "bf:Note" + }, + { + "noteType": "File Type", + "label": "File type. -- 516", + "type": "bf:Note" + }, + { + "noteType": "Event", + "label": "Event. -- 518", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience (2): Test of 2nd 521 field.", + "type": "bf:Note" + }, + { + "noteType": "Coverage", + "label": "Coverage -- 522", + "type": "bf:Note" + }, + { + "noteType": "Cite As", + "label": "Cite as: The Mega-MARC test record. -- 524", + "type": "bf:Note" + }, + { + "noteType": "Supplement", + "label": "Supplement -- 525", + "type": "bf:Note" + }, + { + "noteType": "Study Program", + "label": "Study program -- 526 8b ", + "type": "bf:Note" + }, + { + "noteType": "Additional Formats", + "label": "Other test records available. -- 530", + "type": "bf:Note" + }, + { + "noteType": "Reproduction", + "label": "Microfilm.", + "type": "bf:Note" + }, + { + "noteType": "Original Location", + "label": "Original location in SASB -- 535", + "type": "bf:Note" + }, + { + "noteType": "Funding", + "label": "Funding -- 536", + "type": "bf:Note" + }, + { + "noteType": "System Details", + "label": "System Details -- 538", + "type": "bf:Note" + }, + { + "noteType": "Terms of Use", + "label": "Use as test record -- 540", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source display-- 5411b", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", + "type": "bf:Note" + }, + { + "noteType": "Location of Other Archival Materials", + "label": "Location of Other Archival Materials -- 544", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 545", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 5451 Administrative history", + "type": "bf:Note" + }, + { + "noteType": "Language", + "label": "In English and non-roman scripts. -- 546", + "type": "bf:Note" + }, + { + "noteType": "Former Title", + "label": "Former title (complexity note) -- 547", + "type": "bf:Note" + }, + { + "noteType": "Issued By", + "label": "Issued by CCO -- 550", + "type": "bf:Note" + }, + { + "noteType": "Indexes/Finding Aids", + "label": "Indexes -- 555 bb", + "type": "bf:Note" + }, + { + "noteType": "Documentation", + "label": "Documentation (information about, note) -- 556", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance display --5611b", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", + "type": "bf:Note" + }, + { + "noteType": "Copy/Version", + "label": "Copy/Version (identification note) -- 562", + "type": "bf:Note" + }, + { + "noteType": "Binding", + "label": "Binding -- 563", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Complemented by Linking entry: Bogus title -- 580", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Linking Entry (complexity note) -- 580", + "type": "bf:Note" + }, + { + "noteType": "Publications", + "label": "Publications (about described material note) -- 581", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action display --583 1b", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", + "type": "bf:Note" + }, + { + "noteType": "Exhibitions", + "label": "Exhibitions -- 585", + "type": "bf:Note" + }, + { + "noteType": "Awards", + "label": "Awards -- 586", + "type": "bf:Note" + }, + { + "noteType": "Source of Description", + "label": "Latest issue consulted: 1900/1901. -- 588 1b", + "type": "bf:Note" + } + ], + "subjectLiteral_exploded": [ + "Starving artist", + "Starving artist -- 600 00", + "Artist, Starving, 1900-1999", + "Artist, Starving, 1900-1999 -- Autobiography.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject.", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers", + "Secret Society of Catalogers -- Periodicals.", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield", + "testing x as first subfield -- testing v as second subfield.", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", + "Conference subject entry.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield)", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g", + "testing 4 testing a testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title", + "Life is a common square.", + "Life is a common square. -- Criticism.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g", + "testing 4 testing a testing d testing e testing g -- testing v", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting", + "Textile industry testing datetesting -- 650 b0 $z, $x", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e", + "testing 4 testing a testing b testing c testing d testing e -- testing v", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.)", + "New York (N.Y.) -- 21st century", + "New York (N.Y.) -- 21st century -- Diaries.", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country.", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g", + "testing 4 testing a testing e testing g -- testing v", + "testing 4 testing a testing e testing g -- testing v -- testing x", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term", + "Indexed term -- 653" + ], + "numItemDatesParsed": [ + 0 + ], + "description": [ + "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", + "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" + ], + "numItemsTotal": [ + 2 + ], + "dateEndString": [ + "2011" + ], + "title": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" + ], + "numItemVolumesParsed": [ + 1 + ], + "createdString": [ + "201" + ], + "creatorLiteral": [ + "Gloger, Miriam.", + "BookOps. Cataloging. --110 2b ab.", + "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" + ], + "numElectronicResources": [ + 4 + ], + "contributorLiteral": [ + "Cramer, Richard, 1948-.", + "Cramer, Richard, 1948-", + "Bayer, Jeffrey.", + "Bayer, Jeffrey", + "New York Public Library Database Management Group. -- 710 2b", + "Conference added author. 711 2b", + "Added entry (uncontrolled name) -- 7201", + "Cramer, Richard, 1948- fmo", + "Virtual collection -- 791 2b" + ], + "donor": [ + "Donor / Sponsor -- 799 bb" + ], + "uniformTitle": [ + "T tagged 240 Uniform title -- t240", + "Added title -- 730 0b", + "CMA Test Records -- 830 b0" + ], + "dateEndYear": [ + 2011 + ], + "parallelTitleAlt": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "зглавие руссий" + ], + "genreForm": [ + "Genre heading.", + "Blank pages and looks – Someplace – 1990.", + "testing a – testing b – testing c – testing v – testing x – testing y – testing z" + ], + "idIsbn": [ + "0123456789", + "9780123456786 (qualifier)", + "ISBN -- 020" + ], + "numCheckinCardItems": [ + 0 + ], + "materialType": [ + { + "id": "resourcetypes:txt", + "label": "Text" + } + ], + "carrierType": [ + { + "id": "carriertypes:nc", + "label": "volume" + } + ], + "dateString": [ + "201" + ], + "titleDisplay": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." + ], + "uri": "b22144813", + "electronicResources": [ + { + "label": "856 40", + "url": "http://blogs.nypl.org/rcramer/" + }, + { + "label": "Yizkor Book (NYPL resource) 856 41", + "url": "http://yizkor.nypl.org/index.php?id=2936" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" + } + ], + "parallelTitleDisplay": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "placeOfPublication": [ + "[s.l.]", + "Long Island CIty, N.Y.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "issuance": [ + { + "id": "urn:biblevel:m", + "label": "monograph/item" + } + ], + "supplementaryContent": [ + { + "label": "Contents", + "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" + } + ], + "dimensions": [ + "26 cm +", + "26 cm. +", + "More 3rd instance -- 300 (3rd instance)" + ], + "idIsbn_clean": [ + "0123456789", + "9780123456786", + "020" + ] + }, + "sort": [ + 17.58589, + "b22144813" + ], + "inner_hits": { + "electronicResources": { + "hits": { + "total": 0, + "max_score": null, + "hits": [] + } + }, + "items": { + "hits": { + "total": 2, + "max_score": null, + "hits": [ + { + "_nested": { + "field": "items", + "offset": 0 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:1", + "label": "Use in library" + } + ], + "accessMessage_packed": [ + "accessMessage:1||Use in library" + ], + "catalogItemType": [ + { + "id": "catalogItemType:2", + "label": "book non-circ" + } + ], + "catalogItemType_packed": [ + "catalogItemType:2||book non-circ" + ], + "enumerationChronology": [ + "v.1" + ], + "enumerationChronology_sort": [ + " 1-" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:mall1", + "label": "Schwarzman Building - Main Reading Room 315 - Reference" + } + ], + "holdingLocation_packed": [ + "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" + ], + "idBarcode": [ + "3333333333" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "urn:barcode:3333333333" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "type": "bf:ShelfMark" + }, + { + "value": "3333333333", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1101", + "label": "General Research Division" + } + ], + "owner_packed": [ + "orgs:1101||General Research Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + false + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", + "status": [ + { + "id": "status:k", + "label": "Check with staff" + } + ], + "status_packed": [ + "status:k||Check with staff" + ], + "type": [ + "bf:Item" + ], + "volumeRange": [ + { + "gte": 1, + "lte": 1 + } + ], + "uri": "i37857771" + }, + "sort": [ + " 1-" + ] + }, + { + "_nested": { + "field": "items", + "offset": 1 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:2", + "label": "Request in advance" + } + ], + "accessMessage_packed": [ + "accessMessage:2||Request in advance" + ], + "catalogItemType": [ + { + "id": "catalogItemType:3", + "label": "serial" + } + ], + "catalogItemType_packed": [ + "catalogItemType:3||serial" + ], + "enumerationChronology": [ + "nothing" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:rcmf2", + "label": "Offsite" + } + ], + "holdingLocation_packed": [ + "loc:rcmf2||Offsite" + ], + "idBarcode": [ + "44455533322211" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "urn:barcode:44455533322211" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "type": "bf:ShelfMark" + }, + { + "value": "44455533322211", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1103", + "label": "Dorot Jewish Division" + } + ], + "owner_packed": [ + "orgs:1103||Dorot Jewish Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + true + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "status": [ + { + "id": "status:a", + "label": "Available" + } + ], + "status_packed": [ + "status:a||Available" + ], + "type": [ + "bf:Item" + ], + "uri": "i37857772" + }, + "sort": [ + null + ] + } + ] + } + } + } + } + ] + } + }, + "statusCode": 200 +} \ No newline at end of file diff --git a/test/fixtures/query-8620b6e2c494fb19cd0860a8ae96e870.json b/test/fixtures/query-8620b6e2c494fb19cd0860a8ae96e870.json new file mode 100644 index 00000000..e4832cec --- /dev/null +++ b/test/fixtures/query-8620b6e2c494fb19cd0860a8ae96e870.json @@ -0,0 +1,958 @@ +{ + "body": { + "took": 766, + "timed_out": false, + "_shards": { + "total": 3, + "successful": 3, + "failed": 0 + }, + "hits": { + "total": 1, + "max_score": null, + "hits": [ + { + "_index": "resources-2018-04-09", + "_type": "resource", + "_id": "b22144813", + "_score": 17.586868, + "_source": { + "extent": [ + "1234, [1] pages, x leaves : illustrations ;", + "1234, [1] p., x leaves : ill. ;", + "Third description instance : More 3rd instance ;" + ], + "partOf": [ + "In: -- 773 0b" + ], + "nyplSource": [ + "sierra-nypl" + ], + "serialPublicationDates": [ + "Publication Date (unformated) -- 362 1b" + ], + "publisherLiteral": [ + "Specious Publ. [prev.pub.-- 260.2b]", + "CopyCat pub. co. -- 260 bb" + ], + "language": [ + { + "id": "lang:eng", + "label": "English" + } + ], + "createdYear": [ + 201 + ], + "parallelTitle": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "type": [ + "nypl:Item" + ], + "shelfMark": [ + "Q-TAG (852 8b q tag. Staff call in bib.)" + ], + "idLccn": [ + "LCCN -- 010", + "9790001138673", + "ISMN", + "Danacode", + "UPC", + "EAN" + ], + "idIssn": [ + "ISSN -- 022" + ], + "seriesStatement": [ + "440 Series ; v. number -- 440 b0", + "490 Series ; v. number -- 490 0b", + "Author, of series. CMA Test Records. -- 800 1b", + "CMA (Cat). CMA Test Records -- 810 2b " + ], + "dateStartYear": [ + 201 + ], + "parallelCreatorLiteral": [ + "‏גלוגר,מרים פ." + ], + "identifierV2": [ + { + "type": "bf:ShelfMark", + "value": "Q-TAG (852 8b q tag. Staff call in bib.)" + }, + { + "type": "nypl:Bnumber", + "value": "22144813" + }, + { + "type": "bf:Isbn", + "value": "0123456789" + }, + { + "type": "bf:Isbn", + "value": "9780123456786 (qualifier)" + }, + { + "type": "bf:Isbn", + "value": "ISBN -- 020" + }, + { + "type": "bf:Isbn", + "identifierStatus": "canceled/invalid", + "value": "ISBN -- 020 $z" + }, + { + "type": "bf:Lccn", + "value": "LCCN -- 010" + }, + { + "type": "bf:Lccn", + "value": "9790001138673" + }, + { + "type": "bf:Lccn", + "value": "ISMN" + }, + { + "type": "bf:Lccn", + "value": "Danacode" + }, + { + "type": "bf:Lccn", + "value": "UPC" + }, + { + "type": "bf:Lccn", + "value": "EAN" + }, + { + "type": "bf:Issn", + "value": "ISSN -- 022" + }, + { + "type": "bf:Identifier", + "value": "Report number. -- 027" + }, + { + "type": "bf:Identifier", + "value": "Publisher no. -- 028 02 " + }, + { + "type": "bf:Identifier", + "value": "Standard number (old RLIN, etc.) -- 035" + }, + { + "type": "bf:Identifier", + "value": "Sudoc no. -- 086" + }, + { + "type": "bf:Identifier", + "value": "GPO Item number. -- 074" + } + ], + "formerTitle": [ + "Former title -- 247 00" + ], + "updatedAt": 1711656889146, + "publicationStatement": [ + "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", + "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "identifier": [ + "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", + "urn:bnum:22144813", + "urn:isbn:0123456789", + "urn:isbn:9780123456786 (qualifier)", + "urn:isbn:ISBN -- 020", + "urn:isbn:ISBN -- 020 $z", + "urn:lccn:LCCN -- 010", + "urn:lccn:9790001138673", + "urn:lccn:ISMN", + "urn:lccn:Danacode", + "urn:lccn:UPC", + "urn:lccn:EAN", + "urn:issn:ISSN -- 022", + "urn:identifier:Report number. -- 027", + "urn:identifier:Publisher no. -- 028 02 ", + "urn:identifier:Standard number (old RLIN, etc.) -- 035", + "urn:identifier:Sudoc no. -- 086", + "urn:identifier:GPO Item number. -- 074" + ], + "mediaType": [ + { + "id": "mediatypes:n", + "label": "unmediated" + } + ], + "subjectLiteral": [ + "Starving artist -- 600 00.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term -- 653" + ], + "titleAlt": [ + "Abrev. title -- 210 ", + "Key title -- 222 ", + "T tagged 240 Uniform title -- t240", + "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", + "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", + "Portion of title 246 30", + "Parallel title 246 31", + "Distinctive title 246 12", + "Other title 246 13", + "Cover title 246 14", + "Cover title 246 04", + "Added title page title 246 15", + "Running title 246 17", + "Caption title 246 16", + "Spine title 246 18", + "No type of title specified 246 3 blank", + "246 1 blank", + "Zaglavie Russiĭi", + "Added title -- 740 0b" + ], + "tableOfContents": [ + "Complete table of contents. -- 505 0b", + "1. Incomplete table of contents. -- First instance.-- 505 1b", + "2. Incomplete table of contents -- Second instance. 505 1b", + "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", + "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." + ], + "note": [ + { + "noteType": "Note", + "label": "Ordinary note. -- 500", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "²³¹", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "⠀⠀⠀\\___( ツ )___", + "type": "bf:Note" + }, + { + "noteType": "With", + "label": "Bound with note. -- 501", + "type": "bf:Note" + }, + { + "noteType": "Thesis", + "label": "Thesis -- (degree) note. -- 502", + "type": "bf:Note" + }, + { + "noteType": "Bibliography", + "label": "Includes bibliographical references (p. [1235]). -- 504", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Access -- 506 blank,any", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Restricted Access -- 506 1,any", + "type": "bf:Note" + }, + { + "noteType": "Scale", + "label": "Scale (graphic) -- 507", + "type": "bf:Note" + }, + { + "noteType": "Credits", + "label": "Credits (Creation/production credits note) -- 508", + "type": "bf:Note" + }, + { + "noteType": "Performer", + "label": "Cast --511 1b", + "type": "bf:Note" + }, + { + "noteType": "Type of Report", + "label": "Type of Report. -- 513", + "type": "bf:Note" + }, + { + "noteType": "Data Quality", + "label": "Data quality -- 514", + "type": "bf:Note" + }, + { + "noteType": "Numbering", + "label": "Completely irregular. -- 515", + "type": "bf:Note" + }, + { + "noteType": "File Type", + "label": "File type. -- 516", + "type": "bf:Note" + }, + { + "noteType": "Event", + "label": "Event. -- 518", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience (2): Test of 2nd 521 field.", + "type": "bf:Note" + }, + { + "noteType": "Coverage", + "label": "Coverage -- 522", + "type": "bf:Note" + }, + { + "noteType": "Cite As", + "label": "Cite as: The Mega-MARC test record. -- 524", + "type": "bf:Note" + }, + { + "noteType": "Supplement", + "label": "Supplement -- 525", + "type": "bf:Note" + }, + { + "noteType": "Study Program", + "label": "Study program -- 526 8b ", + "type": "bf:Note" + }, + { + "noteType": "Additional Formats", + "label": "Other test records available. -- 530", + "type": "bf:Note" + }, + { + "noteType": "Reproduction", + "label": "Microfilm.", + "type": "bf:Note" + }, + { + "noteType": "Original Location", + "label": "Original location in SASB -- 535", + "type": "bf:Note" + }, + { + "noteType": "Funding", + "label": "Funding -- 536", + "type": "bf:Note" + }, + { + "noteType": "System Details", + "label": "System Details -- 538", + "type": "bf:Note" + }, + { + "noteType": "Terms of Use", + "label": "Use as test record -- 540", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source display-- 5411b", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", + "type": "bf:Note" + }, + { + "noteType": "Location of Other Archival Materials", + "label": "Location of Other Archival Materials -- 544", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 545", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 5451 Administrative history", + "type": "bf:Note" + }, + { + "noteType": "Language", + "label": "In English and non-roman scripts. -- 546", + "type": "bf:Note" + }, + { + "noteType": "Former Title", + "label": "Former title (complexity note) -- 547", + "type": "bf:Note" + }, + { + "noteType": "Issued By", + "label": "Issued by CCO -- 550", + "type": "bf:Note" + }, + { + "noteType": "Indexes/Finding Aids", + "label": "Indexes -- 555 bb", + "type": "bf:Note" + }, + { + "noteType": "Documentation", + "label": "Documentation (information about, note) -- 556", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance display --5611b", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", + "type": "bf:Note" + }, + { + "noteType": "Copy/Version", + "label": "Copy/Version (identification note) -- 562", + "type": "bf:Note" + }, + { + "noteType": "Binding", + "label": "Binding -- 563", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Complemented by Linking entry: Bogus title -- 580", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Linking Entry (complexity note) -- 580", + "type": "bf:Note" + }, + { + "noteType": "Publications", + "label": "Publications (about described material note) -- 581", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action display --583 1b", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", + "type": "bf:Note" + }, + { + "noteType": "Exhibitions", + "label": "Exhibitions -- 585", + "type": "bf:Note" + }, + { + "noteType": "Awards", + "label": "Awards -- 586", + "type": "bf:Note" + }, + { + "noteType": "Source of Description", + "label": "Latest issue consulted: 1900/1901. -- 588 1b", + "type": "bf:Note" + } + ], + "subjectLiteral_exploded": [ + "Starving artist", + "Starving artist -- 600 00", + "Artist, Starving, 1900-1999", + "Artist, Starving, 1900-1999 -- Autobiography.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject.", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers", + "Secret Society of Catalogers -- Periodicals.", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield", + "testing x as first subfield -- testing v as second subfield.", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", + "Conference subject entry.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield)", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g", + "testing 4 testing a testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title", + "Life is a common square.", + "Life is a common square. -- Criticism.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g", + "testing 4 testing a testing d testing e testing g -- testing v", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting", + "Textile industry testing datetesting -- 650 b0 $z, $x", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e", + "testing 4 testing a testing b testing c testing d testing e -- testing v", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.)", + "New York (N.Y.) -- 21st century", + "New York (N.Y.) -- 21st century -- Diaries.", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country.", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g", + "testing 4 testing a testing e testing g -- testing v", + "testing 4 testing a testing e testing g -- testing v -- testing x", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term", + "Indexed term -- 653" + ], + "numItemDatesParsed": [ + 0 + ], + "description": [ + "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", + "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" + ], + "numItemsTotal": [ + 2 + ], + "dateEndString": [ + "2011" + ], + "title": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" + ], + "numItemVolumesParsed": [ + 1 + ], + "createdString": [ + "201" + ], + "creatorLiteral": [ + "Gloger, Miriam.", + "BookOps. Cataloging. --110 2b ab.", + "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" + ], + "numElectronicResources": [ + 4 + ], + "contributorLiteral": [ + "Cramer, Richard, 1948-.", + "Cramer, Richard, 1948-", + "Bayer, Jeffrey.", + "Bayer, Jeffrey", + "New York Public Library Database Management Group. -- 710 2b", + "Conference added author. 711 2b", + "Added entry (uncontrolled name) -- 7201", + "Cramer, Richard, 1948- fmo", + "Virtual collection -- 791 2b" + ], + "donor": [ + "Donor / Sponsor -- 799 bb" + ], + "uniformTitle": [ + "T tagged 240 Uniform title -- t240", + "Added title -- 730 0b", + "CMA Test Records -- 830 b0" + ], + "dateEndYear": [ + 2011 + ], + "parallelTitleAlt": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "зглавие руссий" + ], + "genreForm": [ + "Genre heading.", + "Blank pages and looks – Someplace – 1990.", + "testing a – testing b – testing c – testing v – testing x – testing y – testing z" + ], + "idIsbn": [ + "0123456789", + "9780123456786 (qualifier)", + "ISBN -- 020" + ], + "numCheckinCardItems": [ + 0 + ], + "materialType": [ + { + "id": "resourcetypes:txt", + "label": "Text" + } + ], + "carrierType": [ + { + "id": "carriertypes:nc", + "label": "volume" + } + ], + "dateString": [ + "201" + ], + "titleDisplay": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." + ], + "uri": "b22144813", + "electronicResources": [ + { + "label": "856 40", + "url": "http://blogs.nypl.org/rcramer/" + }, + { + "label": "Yizkor Book (NYPL resource) 856 41", + "url": "http://yizkor.nypl.org/index.php?id=2936" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" + } + ], + "parallelTitleDisplay": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "placeOfPublication": [ + "[s.l.]", + "Long Island CIty, N.Y.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "issuance": [ + { + "id": "urn:biblevel:m", + "label": "monograph/item" + } + ], + "supplementaryContent": [ + { + "label": "Contents", + "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" + } + ], + "dimensions": [ + "26 cm +", + "26 cm. +", + "More 3rd instance -- 300 (3rd instance)" + ], + "idIsbn_clean": [ + "0123456789", + "9780123456786", + "020" + ] + }, + "sort": [ + 17.586868, + "b22144813" + ], + "inner_hits": { + "electronicResources": { + "hits": { + "total": 0, + "max_score": null, + "hits": [] + } + }, + "items": { + "hits": { + "total": 2, + "max_score": null, + "hits": [ + { + "_nested": { + "field": "items", + "offset": 0 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:1", + "label": "Use in library" + } + ], + "accessMessage_packed": [ + "accessMessage:1||Use in library" + ], + "catalogItemType": [ + { + "id": "catalogItemType:2", + "label": "book non-circ" + } + ], + "catalogItemType_packed": [ + "catalogItemType:2||book non-circ" + ], + "enumerationChronology": [ + "v.1" + ], + "enumerationChronology_sort": [ + " 1-" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:mall1", + "label": "Schwarzman Building - Main Reading Room 315 - Reference" + } + ], + "holdingLocation_packed": [ + "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" + ], + "idBarcode": [ + "3333333333" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "urn:barcode:3333333333" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "type": "bf:ShelfMark" + }, + { + "value": "3333333333", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1101", + "label": "General Research Division" + } + ], + "owner_packed": [ + "orgs:1101||General Research Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + false + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", + "status": [ + { + "id": "status:k", + "label": "Check with staff" + } + ], + "status_packed": [ + "status:k||Check with staff" + ], + "type": [ + "bf:Item" + ], + "volumeRange": [ + { + "gte": 1, + "lte": 1 + } + ], + "uri": "i37857771" + }, + "sort": [ + " 1-" + ] + }, + { + "_nested": { + "field": "items", + "offset": 1 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:2", + "label": "Request in advance" + } + ], + "accessMessage_packed": [ + "accessMessage:2||Request in advance" + ], + "catalogItemType": [ + { + "id": "catalogItemType:3", + "label": "serial" + } + ], + "catalogItemType_packed": [ + "catalogItemType:3||serial" + ], + "enumerationChronology": [ + "nothing" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:rcmf2", + "label": "Offsite" + } + ], + "holdingLocation_packed": [ + "loc:rcmf2||Offsite" + ], + "idBarcode": [ + "44455533322211" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "urn:barcode:44455533322211" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "type": "bf:ShelfMark" + }, + { + "value": "44455533322211", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1103", + "label": "Dorot Jewish Division" + } + ], + "owner_packed": [ + "orgs:1103||Dorot Jewish Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + true + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "status": [ + { + "id": "status:a", + "label": "Available" + } + ], + "status_packed": [ + "status:a||Available" + ], + "type": [ + "bf:Item" + ], + "uri": "i37857772" + }, + "sort": [ + null + ] + } + ] + } + } + } + } + ] + } + }, + "statusCode": 200 +} \ No newline at end of file diff --git a/test/fixtures/query-87c58d7e559c158bbcf035763d8a4036.json b/test/fixtures/query-87c58d7e559c158bbcf035763d8a4036.json deleted file mode 100644 index e6c17d53..00000000 --- a/test/fixtures/query-87c58d7e559c158bbcf035763d8a4036.json +++ /dev/null @@ -1,971 +0,0 @@ -{ - "body": { - "took": 123, - "timed_out": false, - "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_score": 26.280298, - "_source": { - "extent": [ - "1234, [1] pages, x leaves : illustrations ;", - "1234, [1] p., x leaves : ill. ;", - "Third description instance : More 3rd instance ;" - ], - "partOf": [ - "In: -- 773 0b" - ], - "nyplSource": [ - "sierra-nypl" - ], - "serialPublicationDates": [ - "Publication Date (unformated) -- 362 1b" - ], - "publisherLiteral": [ - "Specious Publ. [prev.pub.-- 260.2b]", - "CopyCat pub. co. -- 260 bb" - ], - "language": [ - { - "id": "lang:eng", - "label": "English" - } - ], - "createdYear": [ - 201 - ], - "parallelTitle": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "type": [ - "nypl:Item" - ], - "shelfMark": [ - "Q-TAG (852 8b q tag. Staff call in bib.)" - ], - "idLccn": [ - "LCCN -- 010", - "9790001138673", - "ISMN", - "Danacode", - "UPC", - "EAN" - ], - "idIssn": [ - "ISSN -- 022" - ], - "seriesStatement": [ - "440 Series ; v. number -- 440 b0", - "490 Series ; v. number -- 490 0b", - "Author, of series. CMA Test Records. -- 800 1b", - "CMA (Cat). CMA Test Records -- 810 2b " - ], - "dateStartYear": [ - 201 - ], - "parallelCreatorLiteral": [ - "‏גלוגר,מרים פ." - ], - "identifierV2": [ - { - "type": "bf:ShelfMark", - "value": "Q-TAG (852 8b q tag. Staff call in bib.)" - }, - { - "type": "nypl:Bnumber", - "value": "22144813" - }, - { - "type": "bf:Isbn", - "value": "0123456789" - }, - { - "type": "bf:Isbn", - "value": "9780123456786 (qualifier)" - }, - { - "type": "bf:Isbn", - "value": "ISBN -- 020" - }, - { - "type": "bf:Isbn", - "identifierStatus": "canceled/invalid", - "value": "ISBN -- 020 $z" - }, - { - "type": "bf:Lccn", - "value": "LCCN -- 010" - }, - { - "type": "bf:Lccn", - "value": "9790001138673" - }, - { - "type": "bf:Lccn", - "value": "ISMN" - }, - { - "type": "bf:Lccn", - "value": "Danacode" - }, - { - "type": "bf:Lccn", - "value": "UPC" - }, - { - "type": "bf:Lccn", - "value": "EAN" - }, - { - "type": "bf:Issn", - "value": "ISSN -- 022" - }, - { - "type": "bf:Identifier", - "value": "Report number. -- 027" - }, - { - "type": "bf:Identifier", - "value": "Publisher no. -- 028 02 " - }, - { - "type": "bf:Identifier", - "value": "Standard number (old RLIN, etc.) -- 035" - }, - { - "type": "bf:Identifier", - "value": "Sudoc no. -- 086" - }, - { - "type": "bf:Identifier", - "value": "GPO Item number. -- 074" - } - ], - "formerTitle": [ - "Former title -- 247 00" - ], - "updatedAt": 1711656889146, - "publicationStatement": [ - "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", - "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "identifier": [ - "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", - "urn:bnum:22144813", - "urn:isbn:0123456789", - "urn:isbn:9780123456786 (qualifier)", - "urn:isbn:ISBN -- 020", - "urn:isbn:ISBN -- 020 $z", - "urn:lccn:LCCN -- 010", - "urn:lccn:9790001138673", - "urn:lccn:ISMN", - "urn:lccn:Danacode", - "urn:lccn:UPC", - "urn:lccn:EAN", - "urn:issn:ISSN -- 022", - "urn:identifier:Report number. -- 027", - "urn:identifier:Publisher no. -- 028 02 ", - "urn:identifier:Standard number (old RLIN, etc.) -- 035", - "urn:identifier:Sudoc no. -- 086", - "urn:identifier:GPO Item number. -- 074" - ], - "mediaType": [ - { - "id": "mediatypes:n", - "label": "unmediated" - } - ], - "subjectLiteral": [ - "Starving artist -- 600 00.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term -- 653" - ], - "titleAlt": [ - "Abrev. title -- 210 ", - "Key title -- 222 ", - "T tagged 240 Uniform title -- t240", - "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", - "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", - "Portion of title 246 30", - "Parallel title 246 31", - "Distinctive title 246 12", - "Other title 246 13", - "Cover title 246 14", - "Cover title 246 04", - "Added title page title 246 15", - "Running title 246 17", - "Caption title 246 16", - "Spine title 246 18", - "No type of title specified 246 3 blank", - "246 1 blank", - "Zaglavie Russiĭi", - "Added title -- 740 0b" - ], - "tableOfContents": [ - "Complete table of contents. -- 505 0b", - "1. Incomplete table of contents. -- First instance.-- 505 1b", - "2. Incomplete table of contents -- Second instance. 505 1b", - "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", - "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." - ], - "note": [ - { - "noteType": "Note", - "label": "Ordinary note. -- 500", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "²³¹", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "⠀⠀⠀\\___( ツ )___", - "type": "bf:Note" - }, - { - "noteType": "With", - "label": "Bound with note. -- 501", - "type": "bf:Note" - }, - { - "noteType": "Thesis", - "label": "Thesis -- (degree) note. -- 502", - "type": "bf:Note" - }, - { - "noteType": "Bibliography", - "label": "Includes bibliographical references (p. [1235]). -- 504", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Access -- 506 blank,any", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Restricted Access -- 506 1,any", - "type": "bf:Note" - }, - { - "noteType": "Scale", - "label": "Scale (graphic) -- 507", - "type": "bf:Note" - }, - { - "noteType": "Credits", - "label": "Credits (Creation/production credits note) -- 508", - "type": "bf:Note" - }, - { - "noteType": "Performer", - "label": "Cast --511 1b", - "type": "bf:Note" - }, - { - "noteType": "Type of Report", - "label": "Type of Report. -- 513", - "type": "bf:Note" - }, - { - "noteType": "Data Quality", - "label": "Data quality -- 514", - "type": "bf:Note" - }, - { - "noteType": "Numbering", - "label": "Completely irregular. -- 515", - "type": "bf:Note" - }, - { - "noteType": "File Type", - "label": "File type. -- 516", - "type": "bf:Note" - }, - { - "noteType": "Event", - "label": "Event. -- 518", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience (2): Test of 2nd 521 field.", - "type": "bf:Note" - }, - { - "noteType": "Coverage", - "label": "Coverage -- 522", - "type": "bf:Note" - }, - { - "noteType": "Cite As", - "label": "Cite as: The Mega-MARC test record. -- 524", - "type": "bf:Note" - }, - { - "noteType": "Supplement", - "label": "Supplement -- 525", - "type": "bf:Note" - }, - { - "noteType": "Study Program", - "label": "Study program -- 526 8b ", - "type": "bf:Note" - }, - { - "noteType": "Additional Formats", - "label": "Other test records available. -- 530", - "type": "bf:Note" - }, - { - "noteType": "Reproduction", - "label": "Microfilm.", - "type": "bf:Note" - }, - { - "noteType": "Original Location", - "label": "Original location in SASB -- 535", - "type": "bf:Note" - }, - { - "noteType": "Funding", - "label": "Funding -- 536", - "type": "bf:Note" - }, - { - "noteType": "System Details", - "label": "System Details -- 538", - "type": "bf:Note" - }, - { - "noteType": "Terms of Use", - "label": "Use as test record -- 540", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source display-- 5411b", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", - "type": "bf:Note" - }, - { - "noteType": "Location of Other Archival Materials", - "label": "Location of Other Archival Materials -- 544", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 545", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 5451 Administrative history", - "type": "bf:Note" - }, - { - "noteType": "Language", - "label": "In English and non-roman scripts. -- 546", - "type": "bf:Note" - }, - { - "noteType": "Former Title", - "label": "Former title (complexity note) -- 547", - "type": "bf:Note" - }, - { - "noteType": "Issued By", - "label": "Issued by CCO -- 550", - "type": "bf:Note" - }, - { - "noteType": "Indexes/Finding Aids", - "label": "Indexes -- 555 bb", - "type": "bf:Note" - }, - { - "noteType": "Documentation", - "label": "Documentation (information about, note) -- 556", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance display --5611b", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", - "type": "bf:Note" - }, - { - "noteType": "Copy/Version", - "label": "Copy/Version (identification note) -- 562", - "type": "bf:Note" - }, - { - "noteType": "Binding", - "label": "Binding -- 563", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Complemented by Linking entry: Bogus title -- 580", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Linking Entry (complexity note) -- 580", - "type": "bf:Note" - }, - { - "noteType": "Publications", - "label": "Publications (about described material note) -- 581", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action display --583 1b", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", - "type": "bf:Note" - }, - { - "noteType": "Exhibitions", - "label": "Exhibitions -- 585", - "type": "bf:Note" - }, - { - "noteType": "Awards", - "label": "Awards -- 586", - "type": "bf:Note" - }, - { - "noteType": "Source of Description", - "label": "Latest issue consulted: 1900/1901. -- 588 1b", - "type": "bf:Note" - } - ], - "subjectLiteral_exploded": [ - "Starving artist", - "Starving artist -- 600 00", - "Artist, Starving, 1900-1999", - "Artist, Starving, 1900-1999 -- Autobiography.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject.", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers", - "Secret Society of Catalogers -- Periodicals.", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield", - "testing x as first subfield -- testing v as second subfield.", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", - "Conference subject entry.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield)", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g", - "testing 4 testing a testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title", - "Life is a common square.", - "Life is a common square. -- Criticism.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g", - "testing 4 testing a testing d testing e testing g -- testing v", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting", - "Textile industry testing datetesting -- 650 b0 $z, $x", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e", - "testing 4 testing a testing b testing c testing d testing e -- testing v", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.)", - "New York (N.Y.) -- 21st century", - "New York (N.Y.) -- 21st century -- Diaries.", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country.", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g", - "testing 4 testing a testing e testing g -- testing v", - "testing 4 testing a testing e testing g -- testing v -- testing x", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term", - "Indexed term -- 653" - ], - "numItemDatesParsed": [ - 0 - ], - "description": [ - "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", - "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" - ], - "numItemsTotal": [ - 2 - ], - "dateEndString": [ - "2011" - ], - "title": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" - ], - "numItemVolumesParsed": [ - 1 - ], - "createdString": [ - "201" - ], - "creatorLiteral": [ - "Gloger, Miriam.", - "BookOps. Cataloging. --110 2b ab.", - "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" - ], - "numElectronicResources": [ - 4 - ], - "contributorLiteral": [ - "Cramer, Richard, 1948-.", - "Cramer, Richard, 1948-", - "Bayer, Jeffrey.", - "Bayer, Jeffrey", - "New York Public Library Database Management Group. -- 710 2b", - "Conference added author. 711 2b", - "Added entry (uncontrolled name) -- 7201", - "Cramer, Richard, 1948- fmo", - "Virtual collection -- 791 2b" - ], - "donor": [ - "Donor / Sponsor -- 799 bb" - ], - "uniformTitle": [ - "T tagged 240 Uniform title -- t240", - "Added title -- 730 0b", - "CMA Test Records -- 830 b0" - ], - "dateEndYear": [ - 2011 - ], - "parallelTitleAlt": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "зглавие руссий" - ], - "genreForm": [ - "Genre heading.", - "Blank pages and looks – Someplace – 1990.", - "testing a – testing b – testing c – testing v – testing x – testing y – testing z" - ], - "idIsbn": [ - "0123456789", - "9780123456786 (qualifier)", - "ISBN -- 020" - ], - "numCheckinCardItems": [ - 0 - ], - "materialType": [ - { - "id": "resourcetypes:txt", - "label": "Text" - } - ], - "carrierType": [ - { - "id": "carriertypes:nc", - "label": "volume" - } - ], - "dateString": [ - "201" - ], - "titleDisplay": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." - ], - "uri": "b22144813", - "electronicResources": [ - { - "label": "856 40", - "url": "http://blogs.nypl.org/rcramer/" - }, - { - "label": "Yizkor Book (NYPL resource) 856 41", - "url": "http://yizkor.nypl.org/index.php?id=2936" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" - } - ], - "parallelTitleDisplay": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "placeOfPublication": [ - "[s.l.]", - "Long Island CIty, N.Y.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "issuance": [ - { - "id": "urn:biblevel:m", - "label": "monograph/item" - } - ], - "supplementaryContent": [ - { - "label": "Contents", - "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" - } - ], - "dimensions": [ - "26 cm +", - "26 cm. +", - "More 3rd instance -- 300 (3rd instance)" - ], - "idIsbn_clean": [ - "0123456789", - "9780123456786", - "020" - ] - }, - "sort": [ - 26.280298, - "b22144813" - ], - "inner_hits": { - "electronicResources": { - "hits": { - "total": { - "value": 0, - "relation": "eq" - }, - "max_score": null, - "hits": [] - } - }, - "items": { - "hits": { - "total": { - "value": 2, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 0 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:1", - "label": "Use in library" - } - ], - "accessMessage_packed": [ - "accessMessage:1||Use in library" - ], - "catalogItemType": [ - { - "id": "catalogItemType:2", - "label": "book non-circ" - } - ], - "catalogItemType_packed": [ - "catalogItemType:2||book non-circ" - ], - "enumerationChronology": [ - "v.1" - ], - "enumerationChronology_sort": [ - " 1-" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:mall1", - "label": "Schwarzman Building - Main Reading Room 315 - Reference" - } - ], - "holdingLocation_packed": [ - "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" - ], - "idBarcode": [ - "3333333333" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "urn:barcode:3333333333" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "type": "bf:ShelfMark" - }, - { - "value": "3333333333", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1101", - "label": "General Research Division" - } - ], - "owner_packed": [ - "orgs:1101||General Research Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - false - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", - "status": [ - { - "id": "status:k", - "label": "Check with staff" - } - ], - "status_packed": [ - "status:k||Check with staff" - ], - "type": [ - "bf:Item" - ], - "volumeRange": [ - { - "gte": 1, - "lte": 1 - } - ], - "uri": "i37857771" - }, - "sort": [ - " 1-" - ] - }, - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 1 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:2", - "label": "Request in advance" - } - ], - "accessMessage_packed": [ - "accessMessage:2||Request in advance" - ], - "catalogItemType": [ - { - "id": "catalogItemType:3", - "label": "serial" - } - ], - "catalogItemType_packed": [ - "catalogItemType:3||serial" - ], - "enumerationChronology": [ - "nothing" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:rcmf2", - "label": "Offsite" - } - ], - "holdingLocation_packed": [ - "loc:rcmf2||Offsite" - ], - "idBarcode": [ - "44455533322211" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "urn:barcode:44455533322211" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "type": "bf:ShelfMark" - }, - { - "value": "44455533322211", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1103", - "label": "Dorot Jewish Division" - } - ], - "owner_packed": [ - "orgs:1103||Dorot Jewish Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - true - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "status": [ - { - "id": "status:a", - "label": "Available" - } - ], - "status_packed": [ - "status:a||Available" - ], - "type": [ - "bf:Item" - ], - "uri": "i37857772" - }, - "sort": [ - null - ] - } - ] - } - } - } - } - ] - } - }, - "statusCode": 200 -} \ No newline at end of file diff --git a/test/fixtures/query-9ca190a6104beaccbb0a71d8c2d2a28b.json b/test/fixtures/query-9ca190a6104beaccbb0a71d8c2d2a28b.json deleted file mode 100644 index 166b31b5..00000000 --- a/test/fixtures/query-9ca190a6104beaccbb0a71d8c2d2a28b.json +++ /dev/null @@ -1,971 +0,0 @@ -{ - "body": { - "took": 33, - "timed_out": false, - "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_score": 26.280298, - "_source": { - "extent": [ - "1234, [1] pages, x leaves : illustrations ;", - "1234, [1] p., x leaves : ill. ;", - "Third description instance : More 3rd instance ;" - ], - "partOf": [ - "In: -- 773 0b" - ], - "nyplSource": [ - "sierra-nypl" - ], - "serialPublicationDates": [ - "Publication Date (unformated) -- 362 1b" - ], - "publisherLiteral": [ - "Specious Publ. [prev.pub.-- 260.2b]", - "CopyCat pub. co. -- 260 bb" - ], - "language": [ - { - "id": "lang:eng", - "label": "English" - } - ], - "createdYear": [ - 201 - ], - "parallelTitle": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "type": [ - "nypl:Item" - ], - "shelfMark": [ - "Q-TAG (852 8b q tag. Staff call in bib.)" - ], - "idLccn": [ - "LCCN -- 010", - "9790001138673", - "ISMN", - "Danacode", - "UPC", - "EAN" - ], - "idIssn": [ - "ISSN -- 022" - ], - "seriesStatement": [ - "440 Series ; v. number -- 440 b0", - "490 Series ; v. number -- 490 0b", - "Author, of series. CMA Test Records. -- 800 1b", - "CMA (Cat). CMA Test Records -- 810 2b " - ], - "dateStartYear": [ - 201 - ], - "parallelCreatorLiteral": [ - "‏גלוגר,מרים פ." - ], - "identifierV2": [ - { - "type": "bf:ShelfMark", - "value": "Q-TAG (852 8b q tag. Staff call in bib.)" - }, - { - "type": "nypl:Bnumber", - "value": "22144813" - }, - { - "type": "bf:Isbn", - "value": "0123456789" - }, - { - "type": "bf:Isbn", - "value": "9780123456786 (qualifier)" - }, - { - "type": "bf:Isbn", - "value": "ISBN -- 020" - }, - { - "type": "bf:Isbn", - "identifierStatus": "canceled/invalid", - "value": "ISBN -- 020 $z" - }, - { - "type": "bf:Lccn", - "value": "LCCN -- 010" - }, - { - "type": "bf:Lccn", - "value": "9790001138673" - }, - { - "type": "bf:Lccn", - "value": "ISMN" - }, - { - "type": "bf:Lccn", - "value": "Danacode" - }, - { - "type": "bf:Lccn", - "value": "UPC" - }, - { - "type": "bf:Lccn", - "value": "EAN" - }, - { - "type": "bf:Issn", - "value": "ISSN -- 022" - }, - { - "type": "bf:Identifier", - "value": "Report number. -- 027" - }, - { - "type": "bf:Identifier", - "value": "Publisher no. -- 028 02 " - }, - { - "type": "bf:Identifier", - "value": "Standard number (old RLIN, etc.) -- 035" - }, - { - "type": "bf:Identifier", - "value": "Sudoc no. -- 086" - }, - { - "type": "bf:Identifier", - "value": "GPO Item number. -- 074" - } - ], - "formerTitle": [ - "Former title -- 247 00" - ], - "updatedAt": 1711656889146, - "publicationStatement": [ - "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", - "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "identifier": [ - "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", - "urn:bnum:22144813", - "urn:isbn:0123456789", - "urn:isbn:9780123456786 (qualifier)", - "urn:isbn:ISBN -- 020", - "urn:isbn:ISBN -- 020 $z", - "urn:lccn:LCCN -- 010", - "urn:lccn:9790001138673", - "urn:lccn:ISMN", - "urn:lccn:Danacode", - "urn:lccn:UPC", - "urn:lccn:EAN", - "urn:issn:ISSN -- 022", - "urn:identifier:Report number. -- 027", - "urn:identifier:Publisher no. -- 028 02 ", - "urn:identifier:Standard number (old RLIN, etc.) -- 035", - "urn:identifier:Sudoc no. -- 086", - "urn:identifier:GPO Item number. -- 074" - ], - "mediaType": [ - { - "id": "mediatypes:n", - "label": "unmediated" - } - ], - "subjectLiteral": [ - "Starving artist -- 600 00.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term -- 653" - ], - "titleAlt": [ - "Abrev. title -- 210 ", - "Key title -- 222 ", - "T tagged 240 Uniform title -- t240", - "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", - "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", - "Portion of title 246 30", - "Parallel title 246 31", - "Distinctive title 246 12", - "Other title 246 13", - "Cover title 246 14", - "Cover title 246 04", - "Added title page title 246 15", - "Running title 246 17", - "Caption title 246 16", - "Spine title 246 18", - "No type of title specified 246 3 blank", - "246 1 blank", - "Zaglavie Russiĭi", - "Added title -- 740 0b" - ], - "tableOfContents": [ - "Complete table of contents. -- 505 0b", - "1. Incomplete table of contents. -- First instance.-- 505 1b", - "2. Incomplete table of contents -- Second instance. 505 1b", - "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", - "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." - ], - "note": [ - { - "noteType": "Note", - "label": "Ordinary note. -- 500", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "²³¹", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "⠀⠀⠀\\___( ツ )___", - "type": "bf:Note" - }, - { - "noteType": "With", - "label": "Bound with note. -- 501", - "type": "bf:Note" - }, - { - "noteType": "Thesis", - "label": "Thesis -- (degree) note. -- 502", - "type": "bf:Note" - }, - { - "noteType": "Bibliography", - "label": "Includes bibliographical references (p. [1235]). -- 504", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Access -- 506 blank,any", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Restricted Access -- 506 1,any", - "type": "bf:Note" - }, - { - "noteType": "Scale", - "label": "Scale (graphic) -- 507", - "type": "bf:Note" - }, - { - "noteType": "Credits", - "label": "Credits (Creation/production credits note) -- 508", - "type": "bf:Note" - }, - { - "noteType": "Performer", - "label": "Cast --511 1b", - "type": "bf:Note" - }, - { - "noteType": "Type of Report", - "label": "Type of Report. -- 513", - "type": "bf:Note" - }, - { - "noteType": "Data Quality", - "label": "Data quality -- 514", - "type": "bf:Note" - }, - { - "noteType": "Numbering", - "label": "Completely irregular. -- 515", - "type": "bf:Note" - }, - { - "noteType": "File Type", - "label": "File type. -- 516", - "type": "bf:Note" - }, - { - "noteType": "Event", - "label": "Event. -- 518", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience (2): Test of 2nd 521 field.", - "type": "bf:Note" - }, - { - "noteType": "Coverage", - "label": "Coverage -- 522", - "type": "bf:Note" - }, - { - "noteType": "Cite As", - "label": "Cite as: The Mega-MARC test record. -- 524", - "type": "bf:Note" - }, - { - "noteType": "Supplement", - "label": "Supplement -- 525", - "type": "bf:Note" - }, - { - "noteType": "Study Program", - "label": "Study program -- 526 8b ", - "type": "bf:Note" - }, - { - "noteType": "Additional Formats", - "label": "Other test records available. -- 530", - "type": "bf:Note" - }, - { - "noteType": "Reproduction", - "label": "Microfilm.", - "type": "bf:Note" - }, - { - "noteType": "Original Location", - "label": "Original location in SASB -- 535", - "type": "bf:Note" - }, - { - "noteType": "Funding", - "label": "Funding -- 536", - "type": "bf:Note" - }, - { - "noteType": "System Details", - "label": "System Details -- 538", - "type": "bf:Note" - }, - { - "noteType": "Terms of Use", - "label": "Use as test record -- 540", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source display-- 5411b", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", - "type": "bf:Note" - }, - { - "noteType": "Location of Other Archival Materials", - "label": "Location of Other Archival Materials -- 544", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 545", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 5451 Administrative history", - "type": "bf:Note" - }, - { - "noteType": "Language", - "label": "In English and non-roman scripts. -- 546", - "type": "bf:Note" - }, - { - "noteType": "Former Title", - "label": "Former title (complexity note) -- 547", - "type": "bf:Note" - }, - { - "noteType": "Issued By", - "label": "Issued by CCO -- 550", - "type": "bf:Note" - }, - { - "noteType": "Indexes/Finding Aids", - "label": "Indexes -- 555 bb", - "type": "bf:Note" - }, - { - "noteType": "Documentation", - "label": "Documentation (information about, note) -- 556", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance display --5611b", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", - "type": "bf:Note" - }, - { - "noteType": "Copy/Version", - "label": "Copy/Version (identification note) -- 562", - "type": "bf:Note" - }, - { - "noteType": "Binding", - "label": "Binding -- 563", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Complemented by Linking entry: Bogus title -- 580", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Linking Entry (complexity note) -- 580", - "type": "bf:Note" - }, - { - "noteType": "Publications", - "label": "Publications (about described material note) -- 581", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action display --583 1b", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", - "type": "bf:Note" - }, - { - "noteType": "Exhibitions", - "label": "Exhibitions -- 585", - "type": "bf:Note" - }, - { - "noteType": "Awards", - "label": "Awards -- 586", - "type": "bf:Note" - }, - { - "noteType": "Source of Description", - "label": "Latest issue consulted: 1900/1901. -- 588 1b", - "type": "bf:Note" - } - ], - "subjectLiteral_exploded": [ - "Starving artist", - "Starving artist -- 600 00", - "Artist, Starving, 1900-1999", - "Artist, Starving, 1900-1999 -- Autobiography.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject.", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers", - "Secret Society of Catalogers -- Periodicals.", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield", - "testing x as first subfield -- testing v as second subfield.", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", - "Conference subject entry.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield)", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g", - "testing 4 testing a testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title", - "Life is a common square.", - "Life is a common square. -- Criticism.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g", - "testing 4 testing a testing d testing e testing g -- testing v", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting", - "Textile industry testing datetesting -- 650 b0 $z, $x", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e", - "testing 4 testing a testing b testing c testing d testing e -- testing v", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.)", - "New York (N.Y.) -- 21st century", - "New York (N.Y.) -- 21st century -- Diaries.", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country.", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g", - "testing 4 testing a testing e testing g -- testing v", - "testing 4 testing a testing e testing g -- testing v -- testing x", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term", - "Indexed term -- 653" - ], - "numItemDatesParsed": [ - 0 - ], - "description": [ - "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", - "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" - ], - "numItemsTotal": [ - 2 - ], - "dateEndString": [ - "2011" - ], - "title": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" - ], - "numItemVolumesParsed": [ - 1 - ], - "createdString": [ - "201" - ], - "creatorLiteral": [ - "Gloger, Miriam.", - "BookOps. Cataloging. --110 2b ab.", - "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" - ], - "numElectronicResources": [ - 4 - ], - "contributorLiteral": [ - "Cramer, Richard, 1948-.", - "Cramer, Richard, 1948-", - "Bayer, Jeffrey.", - "Bayer, Jeffrey", - "New York Public Library Database Management Group. -- 710 2b", - "Conference added author. 711 2b", - "Added entry (uncontrolled name) -- 7201", - "Cramer, Richard, 1948- fmo", - "Virtual collection -- 791 2b" - ], - "donor": [ - "Donor / Sponsor -- 799 bb" - ], - "uniformTitle": [ - "T tagged 240 Uniform title -- t240", - "Added title -- 730 0b", - "CMA Test Records -- 830 b0" - ], - "dateEndYear": [ - 2011 - ], - "parallelTitleAlt": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "зглавие руссий" - ], - "genreForm": [ - "Genre heading.", - "Blank pages and looks – Someplace – 1990.", - "testing a – testing b – testing c – testing v – testing x – testing y – testing z" - ], - "idIsbn": [ - "0123456789", - "9780123456786 (qualifier)", - "ISBN -- 020" - ], - "numCheckinCardItems": [ - 0 - ], - "materialType": [ - { - "id": "resourcetypes:txt", - "label": "Text" - } - ], - "carrierType": [ - { - "id": "carriertypes:nc", - "label": "volume" - } - ], - "dateString": [ - "201" - ], - "titleDisplay": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." - ], - "uri": "b22144813", - "electronicResources": [ - { - "label": "856 40", - "url": "http://blogs.nypl.org/rcramer/" - }, - { - "label": "Yizkor Book (NYPL resource) 856 41", - "url": "http://yizkor.nypl.org/index.php?id=2936" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" - } - ], - "parallelTitleDisplay": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "placeOfPublication": [ - "[s.l.]", - "Long Island CIty, N.Y.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "issuance": [ - { - "id": "urn:biblevel:m", - "label": "monograph/item" - } - ], - "supplementaryContent": [ - { - "label": "Contents", - "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" - } - ], - "dimensions": [ - "26 cm +", - "26 cm. +", - "More 3rd instance -- 300 (3rd instance)" - ], - "idIsbn_clean": [ - "0123456789", - "9780123456786", - "020" - ] - }, - "sort": [ - 26.280298, - "b22144813" - ], - "inner_hits": { - "electronicResources": { - "hits": { - "total": { - "value": 0, - "relation": "eq" - }, - "max_score": null, - "hits": [] - } - }, - "items": { - "hits": { - "total": { - "value": 2, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 0 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:1", - "label": "Use in library" - } - ], - "accessMessage_packed": [ - "accessMessage:1||Use in library" - ], - "catalogItemType": [ - { - "id": "catalogItemType:2", - "label": "book non-circ" - } - ], - "catalogItemType_packed": [ - "catalogItemType:2||book non-circ" - ], - "enumerationChronology": [ - "v.1" - ], - "enumerationChronology_sort": [ - " 1-" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:mall1", - "label": "Schwarzman Building - Main Reading Room 315 - Reference" - } - ], - "holdingLocation_packed": [ - "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" - ], - "idBarcode": [ - "3333333333" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "urn:barcode:3333333333" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "type": "bf:ShelfMark" - }, - { - "value": "3333333333", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1101", - "label": "General Research Division" - } - ], - "owner_packed": [ - "orgs:1101||General Research Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - false - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", - "status": [ - { - "id": "status:k", - "label": "Check with staff" - } - ], - "status_packed": [ - "status:k||Check with staff" - ], - "type": [ - "bf:Item" - ], - "volumeRange": [ - { - "gte": 1, - "lte": 1 - } - ], - "uri": "i37857771" - }, - "sort": [ - " 1-" - ] - }, - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 1 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:2", - "label": "Request in advance" - } - ], - "accessMessage_packed": [ - "accessMessage:2||Request in advance" - ], - "catalogItemType": [ - { - "id": "catalogItemType:3", - "label": "serial" - } - ], - "catalogItemType_packed": [ - "catalogItemType:3||serial" - ], - "enumerationChronology": [ - "nothing" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:rcmf2", - "label": "Offsite" - } - ], - "holdingLocation_packed": [ - "loc:rcmf2||Offsite" - ], - "idBarcode": [ - "44455533322211" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "urn:barcode:44455533322211" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "type": "bf:ShelfMark" - }, - { - "value": "44455533322211", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1103", - "label": "Dorot Jewish Division" - } - ], - "owner_packed": [ - "orgs:1103||Dorot Jewish Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - true - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "status": [ - { - "id": "status:a", - "label": "Available" - } - ], - "status_packed": [ - "status:a||Available" - ], - "type": [ - "bf:Item" - ], - "uri": "i37857772" - }, - "sort": [ - null - ] - } - ] - } - } - } - } - ] - } - }, - "statusCode": 200 -} \ No newline at end of file diff --git a/test/fixtures/query-a9cf17955dd8814b1e06a8137cbf29ae.json b/test/fixtures/query-a9cf17955dd8814b1e06a8137cbf29ae.json new file mode 100644 index 00000000..c8fc1dba --- /dev/null +++ b/test/fixtures/query-a9cf17955dd8814b1e06a8137cbf29ae.json @@ -0,0 +1,958 @@ +{ + "body": { + "took": 253, + "timed_out": false, + "_shards": { + "total": 3, + "successful": 3, + "failed": 0 + }, + "hits": { + "total": 1, + "max_score": null, + "hits": [ + { + "_index": "resources-2018-04-09", + "_type": "resource", + "_id": "b22144813", + "_score": 17.586868, + "_source": { + "extent": [ + "1234, [1] pages, x leaves : illustrations ;", + "1234, [1] p., x leaves : ill. ;", + "Third description instance : More 3rd instance ;" + ], + "partOf": [ + "In: -- 773 0b" + ], + "nyplSource": [ + "sierra-nypl" + ], + "serialPublicationDates": [ + "Publication Date (unformated) -- 362 1b" + ], + "publisherLiteral": [ + "Specious Publ. [prev.pub.-- 260.2b]", + "CopyCat pub. co. -- 260 bb" + ], + "language": [ + { + "id": "lang:eng", + "label": "English" + } + ], + "createdYear": [ + 201 + ], + "parallelTitle": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "type": [ + "nypl:Item" + ], + "shelfMark": [ + "Q-TAG (852 8b q tag. Staff call in bib.)" + ], + "idLccn": [ + "LCCN -- 010", + "9790001138673", + "ISMN", + "Danacode", + "UPC", + "EAN" + ], + "idIssn": [ + "ISSN -- 022" + ], + "seriesStatement": [ + "440 Series ; v. number -- 440 b0", + "490 Series ; v. number -- 490 0b", + "Author, of series. CMA Test Records. -- 800 1b", + "CMA (Cat). CMA Test Records -- 810 2b " + ], + "dateStartYear": [ + 201 + ], + "parallelCreatorLiteral": [ + "‏גלוגר,מרים פ." + ], + "identifierV2": [ + { + "type": "bf:ShelfMark", + "value": "Q-TAG (852 8b q tag. Staff call in bib.)" + }, + { + "type": "nypl:Bnumber", + "value": "22144813" + }, + { + "type": "bf:Isbn", + "value": "0123456789" + }, + { + "type": "bf:Isbn", + "value": "9780123456786 (qualifier)" + }, + { + "type": "bf:Isbn", + "value": "ISBN -- 020" + }, + { + "type": "bf:Isbn", + "identifierStatus": "canceled/invalid", + "value": "ISBN -- 020 $z" + }, + { + "type": "bf:Lccn", + "value": "LCCN -- 010" + }, + { + "type": "bf:Lccn", + "value": "9790001138673" + }, + { + "type": "bf:Lccn", + "value": "ISMN" + }, + { + "type": "bf:Lccn", + "value": "Danacode" + }, + { + "type": "bf:Lccn", + "value": "UPC" + }, + { + "type": "bf:Lccn", + "value": "EAN" + }, + { + "type": "bf:Issn", + "value": "ISSN -- 022" + }, + { + "type": "bf:Identifier", + "value": "Report number. -- 027" + }, + { + "type": "bf:Identifier", + "value": "Publisher no. -- 028 02 " + }, + { + "type": "bf:Identifier", + "value": "Standard number (old RLIN, etc.) -- 035" + }, + { + "type": "bf:Identifier", + "value": "Sudoc no. -- 086" + }, + { + "type": "bf:Identifier", + "value": "GPO Item number. -- 074" + } + ], + "formerTitle": [ + "Former title -- 247 00" + ], + "updatedAt": 1711656889146, + "publicationStatement": [ + "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", + "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "identifier": [ + "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", + "urn:bnum:22144813", + "urn:isbn:0123456789", + "urn:isbn:9780123456786 (qualifier)", + "urn:isbn:ISBN -- 020", + "urn:isbn:ISBN -- 020 $z", + "urn:lccn:LCCN -- 010", + "urn:lccn:9790001138673", + "urn:lccn:ISMN", + "urn:lccn:Danacode", + "urn:lccn:UPC", + "urn:lccn:EAN", + "urn:issn:ISSN -- 022", + "urn:identifier:Report number. -- 027", + "urn:identifier:Publisher no. -- 028 02 ", + "urn:identifier:Standard number (old RLIN, etc.) -- 035", + "urn:identifier:Sudoc no. -- 086", + "urn:identifier:GPO Item number. -- 074" + ], + "mediaType": [ + { + "id": "mediatypes:n", + "label": "unmediated" + } + ], + "subjectLiteral": [ + "Starving artist -- 600 00.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term -- 653" + ], + "titleAlt": [ + "Abrev. title -- 210 ", + "Key title -- 222 ", + "T tagged 240 Uniform title -- t240", + "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", + "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", + "Portion of title 246 30", + "Parallel title 246 31", + "Distinctive title 246 12", + "Other title 246 13", + "Cover title 246 14", + "Cover title 246 04", + "Added title page title 246 15", + "Running title 246 17", + "Caption title 246 16", + "Spine title 246 18", + "No type of title specified 246 3 blank", + "246 1 blank", + "Zaglavie Russiĭi", + "Added title -- 740 0b" + ], + "tableOfContents": [ + "Complete table of contents. -- 505 0b", + "1. Incomplete table of contents. -- First instance.-- 505 1b", + "2. Incomplete table of contents -- Second instance. 505 1b", + "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", + "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." + ], + "note": [ + { + "noteType": "Note", + "label": "Ordinary note. -- 500", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "²³¹", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "⠀⠀⠀\\___( ツ )___", + "type": "bf:Note" + }, + { + "noteType": "With", + "label": "Bound with note. -- 501", + "type": "bf:Note" + }, + { + "noteType": "Thesis", + "label": "Thesis -- (degree) note. -- 502", + "type": "bf:Note" + }, + { + "noteType": "Bibliography", + "label": "Includes bibliographical references (p. [1235]). -- 504", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Access -- 506 blank,any", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Restricted Access -- 506 1,any", + "type": "bf:Note" + }, + { + "noteType": "Scale", + "label": "Scale (graphic) -- 507", + "type": "bf:Note" + }, + { + "noteType": "Credits", + "label": "Credits (Creation/production credits note) -- 508", + "type": "bf:Note" + }, + { + "noteType": "Performer", + "label": "Cast --511 1b", + "type": "bf:Note" + }, + { + "noteType": "Type of Report", + "label": "Type of Report. -- 513", + "type": "bf:Note" + }, + { + "noteType": "Data Quality", + "label": "Data quality -- 514", + "type": "bf:Note" + }, + { + "noteType": "Numbering", + "label": "Completely irregular. -- 515", + "type": "bf:Note" + }, + { + "noteType": "File Type", + "label": "File type. -- 516", + "type": "bf:Note" + }, + { + "noteType": "Event", + "label": "Event. -- 518", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience (2): Test of 2nd 521 field.", + "type": "bf:Note" + }, + { + "noteType": "Coverage", + "label": "Coverage -- 522", + "type": "bf:Note" + }, + { + "noteType": "Cite As", + "label": "Cite as: The Mega-MARC test record. -- 524", + "type": "bf:Note" + }, + { + "noteType": "Supplement", + "label": "Supplement -- 525", + "type": "bf:Note" + }, + { + "noteType": "Study Program", + "label": "Study program -- 526 8b ", + "type": "bf:Note" + }, + { + "noteType": "Additional Formats", + "label": "Other test records available. -- 530", + "type": "bf:Note" + }, + { + "noteType": "Reproduction", + "label": "Microfilm.", + "type": "bf:Note" + }, + { + "noteType": "Original Location", + "label": "Original location in SASB -- 535", + "type": "bf:Note" + }, + { + "noteType": "Funding", + "label": "Funding -- 536", + "type": "bf:Note" + }, + { + "noteType": "System Details", + "label": "System Details -- 538", + "type": "bf:Note" + }, + { + "noteType": "Terms of Use", + "label": "Use as test record -- 540", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source display-- 5411b", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", + "type": "bf:Note" + }, + { + "noteType": "Location of Other Archival Materials", + "label": "Location of Other Archival Materials -- 544", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 545", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 5451 Administrative history", + "type": "bf:Note" + }, + { + "noteType": "Language", + "label": "In English and non-roman scripts. -- 546", + "type": "bf:Note" + }, + { + "noteType": "Former Title", + "label": "Former title (complexity note) -- 547", + "type": "bf:Note" + }, + { + "noteType": "Issued By", + "label": "Issued by CCO -- 550", + "type": "bf:Note" + }, + { + "noteType": "Indexes/Finding Aids", + "label": "Indexes -- 555 bb", + "type": "bf:Note" + }, + { + "noteType": "Documentation", + "label": "Documentation (information about, note) -- 556", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance display --5611b", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", + "type": "bf:Note" + }, + { + "noteType": "Copy/Version", + "label": "Copy/Version (identification note) -- 562", + "type": "bf:Note" + }, + { + "noteType": "Binding", + "label": "Binding -- 563", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Complemented by Linking entry: Bogus title -- 580", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Linking Entry (complexity note) -- 580", + "type": "bf:Note" + }, + { + "noteType": "Publications", + "label": "Publications (about described material note) -- 581", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action display --583 1b", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", + "type": "bf:Note" + }, + { + "noteType": "Exhibitions", + "label": "Exhibitions -- 585", + "type": "bf:Note" + }, + { + "noteType": "Awards", + "label": "Awards -- 586", + "type": "bf:Note" + }, + { + "noteType": "Source of Description", + "label": "Latest issue consulted: 1900/1901. -- 588 1b", + "type": "bf:Note" + } + ], + "subjectLiteral_exploded": [ + "Starving artist", + "Starving artist -- 600 00", + "Artist, Starving, 1900-1999", + "Artist, Starving, 1900-1999 -- Autobiography.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject.", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers", + "Secret Society of Catalogers -- Periodicals.", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield", + "testing x as first subfield -- testing v as second subfield.", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", + "Conference subject entry.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield)", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g", + "testing 4 testing a testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title", + "Life is a common square.", + "Life is a common square. -- Criticism.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g", + "testing 4 testing a testing d testing e testing g -- testing v", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting", + "Textile industry testing datetesting -- 650 b0 $z, $x", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e", + "testing 4 testing a testing b testing c testing d testing e -- testing v", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.)", + "New York (N.Y.) -- 21st century", + "New York (N.Y.) -- 21st century -- Diaries.", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country.", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g", + "testing 4 testing a testing e testing g -- testing v", + "testing 4 testing a testing e testing g -- testing v -- testing x", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term", + "Indexed term -- 653" + ], + "numItemDatesParsed": [ + 0 + ], + "description": [ + "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", + "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" + ], + "numItemsTotal": [ + 2 + ], + "dateEndString": [ + "2011" + ], + "title": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" + ], + "numItemVolumesParsed": [ + 1 + ], + "createdString": [ + "201" + ], + "creatorLiteral": [ + "Gloger, Miriam.", + "BookOps. Cataloging. --110 2b ab.", + "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" + ], + "numElectronicResources": [ + 4 + ], + "contributorLiteral": [ + "Cramer, Richard, 1948-.", + "Cramer, Richard, 1948-", + "Bayer, Jeffrey.", + "Bayer, Jeffrey", + "New York Public Library Database Management Group. -- 710 2b", + "Conference added author. 711 2b", + "Added entry (uncontrolled name) -- 7201", + "Cramer, Richard, 1948- fmo", + "Virtual collection -- 791 2b" + ], + "donor": [ + "Donor / Sponsor -- 799 bb" + ], + "uniformTitle": [ + "T tagged 240 Uniform title -- t240", + "Added title -- 730 0b", + "CMA Test Records -- 830 b0" + ], + "dateEndYear": [ + 2011 + ], + "parallelTitleAlt": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "зглавие руссий" + ], + "genreForm": [ + "Genre heading.", + "Blank pages and looks – Someplace – 1990.", + "testing a – testing b – testing c – testing v – testing x – testing y – testing z" + ], + "idIsbn": [ + "0123456789", + "9780123456786 (qualifier)", + "ISBN -- 020" + ], + "numCheckinCardItems": [ + 0 + ], + "materialType": [ + { + "id": "resourcetypes:txt", + "label": "Text" + } + ], + "carrierType": [ + { + "id": "carriertypes:nc", + "label": "volume" + } + ], + "dateString": [ + "201" + ], + "titleDisplay": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." + ], + "uri": "b22144813", + "electronicResources": [ + { + "label": "856 40", + "url": "http://blogs.nypl.org/rcramer/" + }, + { + "label": "Yizkor Book (NYPL resource) 856 41", + "url": "http://yizkor.nypl.org/index.php?id=2936" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" + } + ], + "parallelTitleDisplay": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "placeOfPublication": [ + "[s.l.]", + "Long Island CIty, N.Y.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "issuance": [ + { + "id": "urn:biblevel:m", + "label": "monograph/item" + } + ], + "supplementaryContent": [ + { + "label": "Contents", + "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" + } + ], + "dimensions": [ + "26 cm +", + "26 cm. +", + "More 3rd instance -- 300 (3rd instance)" + ], + "idIsbn_clean": [ + "0123456789", + "9780123456786", + "020" + ] + }, + "sort": [ + 17.586868, + "b22144813" + ], + "inner_hits": { + "electronicResources": { + "hits": { + "total": 0, + "max_score": null, + "hits": [] + } + }, + "items": { + "hits": { + "total": 2, + "max_score": null, + "hits": [ + { + "_nested": { + "field": "items", + "offset": 0 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:1", + "label": "Use in library" + } + ], + "accessMessage_packed": [ + "accessMessage:1||Use in library" + ], + "catalogItemType": [ + { + "id": "catalogItemType:2", + "label": "book non-circ" + } + ], + "catalogItemType_packed": [ + "catalogItemType:2||book non-circ" + ], + "enumerationChronology": [ + "v.1" + ], + "enumerationChronology_sort": [ + " 1-" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:mall1", + "label": "Schwarzman Building - Main Reading Room 315 - Reference" + } + ], + "holdingLocation_packed": [ + "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" + ], + "idBarcode": [ + "3333333333" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "urn:barcode:3333333333" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "type": "bf:ShelfMark" + }, + { + "value": "3333333333", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1101", + "label": "General Research Division" + } + ], + "owner_packed": [ + "orgs:1101||General Research Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + false + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", + "status": [ + { + "id": "status:k", + "label": "Check with staff" + } + ], + "status_packed": [ + "status:k||Check with staff" + ], + "type": [ + "bf:Item" + ], + "volumeRange": [ + { + "gte": 1, + "lte": 1 + } + ], + "uri": "i37857771" + }, + "sort": [ + " 1-" + ] + }, + { + "_nested": { + "field": "items", + "offset": 1 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:2", + "label": "Request in advance" + } + ], + "accessMessage_packed": [ + "accessMessage:2||Request in advance" + ], + "catalogItemType": [ + { + "id": "catalogItemType:3", + "label": "serial" + } + ], + "catalogItemType_packed": [ + "catalogItemType:3||serial" + ], + "enumerationChronology": [ + "nothing" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:rcmf2", + "label": "Offsite" + } + ], + "holdingLocation_packed": [ + "loc:rcmf2||Offsite" + ], + "idBarcode": [ + "44455533322211" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "urn:barcode:44455533322211" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "type": "bf:ShelfMark" + }, + { + "value": "44455533322211", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1103", + "label": "Dorot Jewish Division" + } + ], + "owner_packed": [ + "orgs:1103||Dorot Jewish Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + true + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "status": [ + { + "id": "status:a", + "label": "Available" + } + ], + "status_packed": [ + "status:a||Available" + ], + "type": [ + "bf:Item" + ], + "uri": "i37857772" + }, + "sort": [ + null + ] + } + ] + } + } + } + } + ] + } + }, + "statusCode": 200 +} \ No newline at end of file diff --git a/test/fixtures/query-28e798c057b9260c6023256448897183.json b/test/fixtures/query-b9b3c757844ce91a563804198c6d432a.json similarity index 93% rename from test/fixtures/query-28e798c057b9260c6023256448897183.json rename to test/fixtures/query-b9b3c757844ce91a563804198c6d432a.json index 0f28c0a1..77046c09 100644 --- a/test/fixtures/query-28e798c057b9260c6023256448897183.json +++ b/test/fixtures/query-b9b3c757844ce91a563804198c6d432a.json @@ -1,24 +1,21 @@ { "body": { - "took": 55, + "took": 844, "timed_out": false, "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, + "total": 3, + "successful": 3, "failed": 0 }, "hits": { - "total": { - "value": 1, - "relation": "eq" - }, + "total": 1, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", + "_index": "resources-2018-04-09", + "_type": "resource", "_id": "b12423567", - "_score": 180.47517, + "_score": 869.0165, "_source": { "extent": [ "202 p." @@ -147,31 +144,23 @@ ] }, "sort": [ - 180.47517, + 869.0165, "b12423567" ], "inner_hits": { "electronicResources": { "hits": { - "total": { - "value": 0, - "relation": "eq" - }, + "total": 0, "max_score": null, "hits": [] } }, "items": { "hits": { - "total": { - "value": 1, - "relation": "eq" - }, + "total": 1, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", - "_id": "b12423567", "_nested": { "field": "items", "offset": 0 diff --git a/test/fixtures/query-bbd734b5fcbe1bc6e44e39213ef3292f.json b/test/fixtures/query-bbd734b5fcbe1bc6e44e39213ef3292f.json new file mode 100644 index 00000000..3a735868 --- /dev/null +++ b/test/fixtures/query-bbd734b5fcbe1bc6e44e39213ef3292f.json @@ -0,0 +1,958 @@ +{ + "body": { + "took": 260, + "timed_out": false, + "_shards": { + "total": 3, + "successful": 3, + "failed": 0 + }, + "hits": { + "total": 1, + "max_score": null, + "hits": [ + { + "_index": "resources-2018-04-09", + "_type": "resource", + "_id": "b22144813", + "_score": 18.586823, + "_source": { + "extent": [ + "1234, [1] pages, x leaves : illustrations ;", + "1234, [1] p., x leaves : ill. ;", + "Third description instance : More 3rd instance ;" + ], + "partOf": [ + "In: -- 773 0b" + ], + "nyplSource": [ + "sierra-nypl" + ], + "serialPublicationDates": [ + "Publication Date (unformated) -- 362 1b" + ], + "publisherLiteral": [ + "Specious Publ. [prev.pub.-- 260.2b]", + "CopyCat pub. co. -- 260 bb" + ], + "language": [ + { + "id": "lang:eng", + "label": "English" + } + ], + "createdYear": [ + 201 + ], + "parallelTitle": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "type": [ + "nypl:Item" + ], + "shelfMark": [ + "Q-TAG (852 8b q tag. Staff call in bib.)" + ], + "idLccn": [ + "LCCN -- 010", + "9790001138673", + "ISMN", + "Danacode", + "UPC", + "EAN" + ], + "idIssn": [ + "ISSN -- 022" + ], + "seriesStatement": [ + "440 Series ; v. number -- 440 b0", + "490 Series ; v. number -- 490 0b", + "Author, of series. CMA Test Records. -- 800 1b", + "CMA (Cat). CMA Test Records -- 810 2b " + ], + "dateStartYear": [ + 201 + ], + "parallelCreatorLiteral": [ + "‏גלוגר,מרים פ." + ], + "identifierV2": [ + { + "type": "bf:ShelfMark", + "value": "Q-TAG (852 8b q tag. Staff call in bib.)" + }, + { + "type": "nypl:Bnumber", + "value": "22144813" + }, + { + "type": "bf:Isbn", + "value": "0123456789" + }, + { + "type": "bf:Isbn", + "value": "9780123456786 (qualifier)" + }, + { + "type": "bf:Isbn", + "value": "ISBN -- 020" + }, + { + "type": "bf:Isbn", + "identifierStatus": "canceled/invalid", + "value": "ISBN -- 020 $z" + }, + { + "type": "bf:Lccn", + "value": "LCCN -- 010" + }, + { + "type": "bf:Lccn", + "value": "9790001138673" + }, + { + "type": "bf:Lccn", + "value": "ISMN" + }, + { + "type": "bf:Lccn", + "value": "Danacode" + }, + { + "type": "bf:Lccn", + "value": "UPC" + }, + { + "type": "bf:Lccn", + "value": "EAN" + }, + { + "type": "bf:Issn", + "value": "ISSN -- 022" + }, + { + "type": "bf:Identifier", + "value": "Report number. -- 027" + }, + { + "type": "bf:Identifier", + "value": "Publisher no. -- 028 02 " + }, + { + "type": "bf:Identifier", + "value": "Standard number (old RLIN, etc.) -- 035" + }, + { + "type": "bf:Identifier", + "value": "Sudoc no. -- 086" + }, + { + "type": "bf:Identifier", + "value": "GPO Item number. -- 074" + } + ], + "formerTitle": [ + "Former title -- 247 00" + ], + "updatedAt": 1711656889146, + "publicationStatement": [ + "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", + "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "identifier": [ + "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", + "urn:bnum:22144813", + "urn:isbn:0123456789", + "urn:isbn:9780123456786 (qualifier)", + "urn:isbn:ISBN -- 020", + "urn:isbn:ISBN -- 020 $z", + "urn:lccn:LCCN -- 010", + "urn:lccn:9790001138673", + "urn:lccn:ISMN", + "urn:lccn:Danacode", + "urn:lccn:UPC", + "urn:lccn:EAN", + "urn:issn:ISSN -- 022", + "urn:identifier:Report number. -- 027", + "urn:identifier:Publisher no. -- 028 02 ", + "urn:identifier:Standard number (old RLIN, etc.) -- 035", + "urn:identifier:Sudoc no. -- 086", + "urn:identifier:GPO Item number. -- 074" + ], + "mediaType": [ + { + "id": "mediatypes:n", + "label": "unmediated" + } + ], + "subjectLiteral": [ + "Starving artist -- 600 00.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term -- 653" + ], + "titleAlt": [ + "Abrev. title -- 210 ", + "Key title -- 222 ", + "T tagged 240 Uniform title -- t240", + "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", + "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", + "Portion of title 246 30", + "Parallel title 246 31", + "Distinctive title 246 12", + "Other title 246 13", + "Cover title 246 14", + "Cover title 246 04", + "Added title page title 246 15", + "Running title 246 17", + "Caption title 246 16", + "Spine title 246 18", + "No type of title specified 246 3 blank", + "246 1 blank", + "Zaglavie Russiĭi", + "Added title -- 740 0b" + ], + "tableOfContents": [ + "Complete table of contents. -- 505 0b", + "1. Incomplete table of contents. -- First instance.-- 505 1b", + "2. Incomplete table of contents -- Second instance. 505 1b", + "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", + "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." + ], + "note": [ + { + "noteType": "Note", + "label": "Ordinary note. -- 500", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "²³¹", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "⠀⠀⠀\\___( ツ )___", + "type": "bf:Note" + }, + { + "noteType": "With", + "label": "Bound with note. -- 501", + "type": "bf:Note" + }, + { + "noteType": "Thesis", + "label": "Thesis -- (degree) note. -- 502", + "type": "bf:Note" + }, + { + "noteType": "Bibliography", + "label": "Includes bibliographical references (p. [1235]). -- 504", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Access -- 506 blank,any", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Restricted Access -- 506 1,any", + "type": "bf:Note" + }, + { + "noteType": "Scale", + "label": "Scale (graphic) -- 507", + "type": "bf:Note" + }, + { + "noteType": "Credits", + "label": "Credits (Creation/production credits note) -- 508", + "type": "bf:Note" + }, + { + "noteType": "Performer", + "label": "Cast --511 1b", + "type": "bf:Note" + }, + { + "noteType": "Type of Report", + "label": "Type of Report. -- 513", + "type": "bf:Note" + }, + { + "noteType": "Data Quality", + "label": "Data quality -- 514", + "type": "bf:Note" + }, + { + "noteType": "Numbering", + "label": "Completely irregular. -- 515", + "type": "bf:Note" + }, + { + "noteType": "File Type", + "label": "File type. -- 516", + "type": "bf:Note" + }, + { + "noteType": "Event", + "label": "Event. -- 518", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience (2): Test of 2nd 521 field.", + "type": "bf:Note" + }, + { + "noteType": "Coverage", + "label": "Coverage -- 522", + "type": "bf:Note" + }, + { + "noteType": "Cite As", + "label": "Cite as: The Mega-MARC test record. -- 524", + "type": "bf:Note" + }, + { + "noteType": "Supplement", + "label": "Supplement -- 525", + "type": "bf:Note" + }, + { + "noteType": "Study Program", + "label": "Study program -- 526 8b ", + "type": "bf:Note" + }, + { + "noteType": "Additional Formats", + "label": "Other test records available. -- 530", + "type": "bf:Note" + }, + { + "noteType": "Reproduction", + "label": "Microfilm.", + "type": "bf:Note" + }, + { + "noteType": "Original Location", + "label": "Original location in SASB -- 535", + "type": "bf:Note" + }, + { + "noteType": "Funding", + "label": "Funding -- 536", + "type": "bf:Note" + }, + { + "noteType": "System Details", + "label": "System Details -- 538", + "type": "bf:Note" + }, + { + "noteType": "Terms of Use", + "label": "Use as test record -- 540", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source display-- 5411b", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", + "type": "bf:Note" + }, + { + "noteType": "Location of Other Archival Materials", + "label": "Location of Other Archival Materials -- 544", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 545", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 5451 Administrative history", + "type": "bf:Note" + }, + { + "noteType": "Language", + "label": "In English and non-roman scripts. -- 546", + "type": "bf:Note" + }, + { + "noteType": "Former Title", + "label": "Former title (complexity note) -- 547", + "type": "bf:Note" + }, + { + "noteType": "Issued By", + "label": "Issued by CCO -- 550", + "type": "bf:Note" + }, + { + "noteType": "Indexes/Finding Aids", + "label": "Indexes -- 555 bb", + "type": "bf:Note" + }, + { + "noteType": "Documentation", + "label": "Documentation (information about, note) -- 556", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance display --5611b", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", + "type": "bf:Note" + }, + { + "noteType": "Copy/Version", + "label": "Copy/Version (identification note) -- 562", + "type": "bf:Note" + }, + { + "noteType": "Binding", + "label": "Binding -- 563", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Complemented by Linking entry: Bogus title -- 580", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Linking Entry (complexity note) -- 580", + "type": "bf:Note" + }, + { + "noteType": "Publications", + "label": "Publications (about described material note) -- 581", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action display --583 1b", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", + "type": "bf:Note" + }, + { + "noteType": "Exhibitions", + "label": "Exhibitions -- 585", + "type": "bf:Note" + }, + { + "noteType": "Awards", + "label": "Awards -- 586", + "type": "bf:Note" + }, + { + "noteType": "Source of Description", + "label": "Latest issue consulted: 1900/1901. -- 588 1b", + "type": "bf:Note" + } + ], + "subjectLiteral_exploded": [ + "Starving artist", + "Starving artist -- 600 00", + "Artist, Starving, 1900-1999", + "Artist, Starving, 1900-1999 -- Autobiography.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject.", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers", + "Secret Society of Catalogers -- Periodicals.", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield", + "testing x as first subfield -- testing v as second subfield.", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", + "Conference subject entry.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield)", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g", + "testing 4 testing a testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title", + "Life is a common square.", + "Life is a common square. -- Criticism.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g", + "testing 4 testing a testing d testing e testing g -- testing v", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting", + "Textile industry testing datetesting -- 650 b0 $z, $x", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e", + "testing 4 testing a testing b testing c testing d testing e -- testing v", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.)", + "New York (N.Y.) -- 21st century", + "New York (N.Y.) -- 21st century -- Diaries.", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country.", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g", + "testing 4 testing a testing e testing g -- testing v", + "testing 4 testing a testing e testing g -- testing v -- testing x", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term", + "Indexed term -- 653" + ], + "numItemDatesParsed": [ + 0 + ], + "description": [ + "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", + "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" + ], + "numItemsTotal": [ + 2 + ], + "dateEndString": [ + "2011" + ], + "title": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" + ], + "numItemVolumesParsed": [ + 1 + ], + "createdString": [ + "201" + ], + "creatorLiteral": [ + "Gloger, Miriam.", + "BookOps. Cataloging. --110 2b ab.", + "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" + ], + "numElectronicResources": [ + 4 + ], + "contributorLiteral": [ + "Cramer, Richard, 1948-.", + "Cramer, Richard, 1948-", + "Bayer, Jeffrey.", + "Bayer, Jeffrey", + "New York Public Library Database Management Group. -- 710 2b", + "Conference added author. 711 2b", + "Added entry (uncontrolled name) -- 7201", + "Cramer, Richard, 1948- fmo", + "Virtual collection -- 791 2b" + ], + "donor": [ + "Donor / Sponsor -- 799 bb" + ], + "uniformTitle": [ + "T tagged 240 Uniform title -- t240", + "Added title -- 730 0b", + "CMA Test Records -- 830 b0" + ], + "dateEndYear": [ + 2011 + ], + "parallelTitleAlt": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "зглавие руссий" + ], + "genreForm": [ + "Genre heading.", + "Blank pages and looks – Someplace – 1990.", + "testing a – testing b – testing c – testing v – testing x – testing y – testing z" + ], + "idIsbn": [ + "0123456789", + "9780123456786 (qualifier)", + "ISBN -- 020" + ], + "numCheckinCardItems": [ + 0 + ], + "materialType": [ + { + "id": "resourcetypes:txt", + "label": "Text" + } + ], + "carrierType": [ + { + "id": "carriertypes:nc", + "label": "volume" + } + ], + "dateString": [ + "201" + ], + "titleDisplay": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." + ], + "uri": "b22144813", + "electronicResources": [ + { + "label": "856 40", + "url": "http://blogs.nypl.org/rcramer/" + }, + { + "label": "Yizkor Book (NYPL resource) 856 41", + "url": "http://yizkor.nypl.org/index.php?id=2936" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" + } + ], + "parallelTitleDisplay": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "placeOfPublication": [ + "[s.l.]", + "Long Island CIty, N.Y.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "issuance": [ + { + "id": "urn:biblevel:m", + "label": "monograph/item" + } + ], + "supplementaryContent": [ + { + "label": "Contents", + "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" + } + ], + "dimensions": [ + "26 cm +", + "26 cm. +", + "More 3rd instance -- 300 (3rd instance)" + ], + "idIsbn_clean": [ + "0123456789", + "9780123456786", + "020" + ] + }, + "sort": [ + 18.586823, + "b22144813" + ], + "inner_hits": { + "electronicResources": { + "hits": { + "total": 0, + "max_score": null, + "hits": [] + } + }, + "items": { + "hits": { + "total": 2, + "max_score": null, + "hits": [ + { + "_nested": { + "field": "items", + "offset": 0 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:1", + "label": "Use in library" + } + ], + "accessMessage_packed": [ + "accessMessage:1||Use in library" + ], + "catalogItemType": [ + { + "id": "catalogItemType:2", + "label": "book non-circ" + } + ], + "catalogItemType_packed": [ + "catalogItemType:2||book non-circ" + ], + "enumerationChronology": [ + "v.1" + ], + "enumerationChronology_sort": [ + " 1-" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:mall1", + "label": "Schwarzman Building - Main Reading Room 315 - Reference" + } + ], + "holdingLocation_packed": [ + "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" + ], + "idBarcode": [ + "3333333333" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "urn:barcode:3333333333" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "type": "bf:ShelfMark" + }, + { + "value": "3333333333", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1101", + "label": "General Research Division" + } + ], + "owner_packed": [ + "orgs:1101||General Research Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + false + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", + "status": [ + { + "id": "status:k", + "label": "Check with staff" + } + ], + "status_packed": [ + "status:k||Check with staff" + ], + "type": [ + "bf:Item" + ], + "volumeRange": [ + { + "gte": 1, + "lte": 1 + } + ], + "uri": "i37857771" + }, + "sort": [ + " 1-" + ] + }, + { + "_nested": { + "field": "items", + "offset": 1 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:2", + "label": "Request in advance" + } + ], + "accessMessage_packed": [ + "accessMessage:2||Request in advance" + ], + "catalogItemType": [ + { + "id": "catalogItemType:3", + "label": "serial" + } + ], + "catalogItemType_packed": [ + "catalogItemType:3||serial" + ], + "enumerationChronology": [ + "nothing" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:rcmf2", + "label": "Offsite" + } + ], + "holdingLocation_packed": [ + "loc:rcmf2||Offsite" + ], + "idBarcode": [ + "44455533322211" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "urn:barcode:44455533322211" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "type": "bf:ShelfMark" + }, + { + "value": "44455533322211", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1103", + "label": "Dorot Jewish Division" + } + ], + "owner_packed": [ + "orgs:1103||Dorot Jewish Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + true + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "status": [ + { + "id": "status:a", + "label": "Available" + } + ], + "status_packed": [ + "status:a||Available" + ], + "type": [ + "bf:Item" + ], + "uri": "i37857772" + }, + "sort": [ + null + ] + } + ] + } + } + } + } + ] + } + }, + "statusCode": 200 +} \ No newline at end of file diff --git a/test/fixtures/query-e2119c6a7fc1fc1271680788c8b04314.json b/test/fixtures/query-c097a528cf702e8f3ec1916f2a9d36da.json similarity index 94% rename from test/fixtures/query-e2119c6a7fc1fc1271680788c8b04314.json rename to test/fixtures/query-c097a528cf702e8f3ec1916f2a9d36da.json index daa1d31f..4ee8a17f 100644 --- a/test/fixtures/query-e2119c6a7fc1fc1271680788c8b04314.json +++ b/test/fixtures/query-c097a528cf702e8f3ec1916f2a9d36da.json @@ -1,24 +1,21 @@ { "body": { - "took": 109, + "took": 891, "timed_out": false, "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, + "total": 3, + "successful": 3, "failed": 0 }, "hits": { - "total": { - "value": 1, - "relation": "eq" - }, + "total": 1, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", + "_index": "resources-2018-04-09", + "_type": "resource", "_id": "b13565153", - "_score": 133.52554, + "_score": 841.1684, "_source": { "extent": [ "430 p. : ill. ;" @@ -185,31 +182,23 @@ ] }, "sort": [ - 133.52554, + 841.1684, "b13565153" ], "inner_hits": { "electronicResources": { "hits": { - "total": { - "value": 0, - "relation": "eq" - }, + "total": 0, "max_score": null, "hits": [] } }, "items": { "hits": { - "total": { - "value": 1, - "relation": "eq" - }, + "total": 1, "max_score": null, "hits": [ { - "_index": "resources-2024-06-07", - "_id": "b13565153", "_nested": { "field": "items", "offset": 0 diff --git a/test/fixtures/query-c827c5d0e7f71d9b3e48f379a009955e.json b/test/fixtures/query-c827c5d0e7f71d9b3e48f379a009955e.json deleted file mode 100644 index f46e3473..00000000 --- a/test/fixtures/query-c827c5d0e7f71d9b3e48f379a009955e.json +++ /dev/null @@ -1,971 +0,0 @@ -{ - "body": { - "took": 25, - "timed_out": false, - "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_score": 26.280298, - "_source": { - "extent": [ - "1234, [1] pages, x leaves : illustrations ;", - "1234, [1] p., x leaves : ill. ;", - "Third description instance : More 3rd instance ;" - ], - "partOf": [ - "In: -- 773 0b" - ], - "nyplSource": [ - "sierra-nypl" - ], - "serialPublicationDates": [ - "Publication Date (unformated) -- 362 1b" - ], - "publisherLiteral": [ - "Specious Publ. [prev.pub.-- 260.2b]", - "CopyCat pub. co. -- 260 bb" - ], - "language": [ - { - "id": "lang:eng", - "label": "English" - } - ], - "createdYear": [ - 201 - ], - "parallelTitle": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "type": [ - "nypl:Item" - ], - "shelfMark": [ - "Q-TAG (852 8b q tag. Staff call in bib.)" - ], - "idLccn": [ - "LCCN -- 010", - "9790001138673", - "ISMN", - "Danacode", - "UPC", - "EAN" - ], - "idIssn": [ - "ISSN -- 022" - ], - "seriesStatement": [ - "440 Series ; v. number -- 440 b0", - "490 Series ; v. number -- 490 0b", - "Author, of series. CMA Test Records. -- 800 1b", - "CMA (Cat). CMA Test Records -- 810 2b " - ], - "dateStartYear": [ - 201 - ], - "parallelCreatorLiteral": [ - "‏גלוגר,מרים פ." - ], - "identifierV2": [ - { - "type": "bf:ShelfMark", - "value": "Q-TAG (852 8b q tag. Staff call in bib.)" - }, - { - "type": "nypl:Bnumber", - "value": "22144813" - }, - { - "type": "bf:Isbn", - "value": "0123456789" - }, - { - "type": "bf:Isbn", - "value": "9780123456786 (qualifier)" - }, - { - "type": "bf:Isbn", - "value": "ISBN -- 020" - }, - { - "type": "bf:Isbn", - "identifierStatus": "canceled/invalid", - "value": "ISBN -- 020 $z" - }, - { - "type": "bf:Lccn", - "value": "LCCN -- 010" - }, - { - "type": "bf:Lccn", - "value": "9790001138673" - }, - { - "type": "bf:Lccn", - "value": "ISMN" - }, - { - "type": "bf:Lccn", - "value": "Danacode" - }, - { - "type": "bf:Lccn", - "value": "UPC" - }, - { - "type": "bf:Lccn", - "value": "EAN" - }, - { - "type": "bf:Issn", - "value": "ISSN -- 022" - }, - { - "type": "bf:Identifier", - "value": "Report number. -- 027" - }, - { - "type": "bf:Identifier", - "value": "Publisher no. -- 028 02 " - }, - { - "type": "bf:Identifier", - "value": "Standard number (old RLIN, etc.) -- 035" - }, - { - "type": "bf:Identifier", - "value": "Sudoc no. -- 086" - }, - { - "type": "bf:Identifier", - "value": "GPO Item number. -- 074" - } - ], - "formerTitle": [ - "Former title -- 247 00" - ], - "updatedAt": 1711656889146, - "publicationStatement": [ - "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", - "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "identifier": [ - "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", - "urn:bnum:22144813", - "urn:isbn:0123456789", - "urn:isbn:9780123456786 (qualifier)", - "urn:isbn:ISBN -- 020", - "urn:isbn:ISBN -- 020 $z", - "urn:lccn:LCCN -- 010", - "urn:lccn:9790001138673", - "urn:lccn:ISMN", - "urn:lccn:Danacode", - "urn:lccn:UPC", - "urn:lccn:EAN", - "urn:issn:ISSN -- 022", - "urn:identifier:Report number. -- 027", - "urn:identifier:Publisher no. -- 028 02 ", - "urn:identifier:Standard number (old RLIN, etc.) -- 035", - "urn:identifier:Sudoc no. -- 086", - "urn:identifier:GPO Item number. -- 074" - ], - "mediaType": [ - { - "id": "mediatypes:n", - "label": "unmediated" - } - ], - "subjectLiteral": [ - "Starving artist -- 600 00.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term -- 653" - ], - "titleAlt": [ - "Abrev. title -- 210 ", - "Key title -- 222 ", - "T tagged 240 Uniform title -- t240", - "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", - "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", - "Portion of title 246 30", - "Parallel title 246 31", - "Distinctive title 246 12", - "Other title 246 13", - "Cover title 246 14", - "Cover title 246 04", - "Added title page title 246 15", - "Running title 246 17", - "Caption title 246 16", - "Spine title 246 18", - "No type of title specified 246 3 blank", - "246 1 blank", - "Zaglavie Russiĭi", - "Added title -- 740 0b" - ], - "tableOfContents": [ - "Complete table of contents. -- 505 0b", - "1. Incomplete table of contents. -- First instance.-- 505 1b", - "2. Incomplete table of contents -- Second instance. 505 1b", - "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", - "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." - ], - "note": [ - { - "noteType": "Note", - "label": "Ordinary note. -- 500", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "²³¹", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "⠀⠀⠀\\___( ツ )___", - "type": "bf:Note" - }, - { - "noteType": "With", - "label": "Bound with note. -- 501", - "type": "bf:Note" - }, - { - "noteType": "Thesis", - "label": "Thesis -- (degree) note. -- 502", - "type": "bf:Note" - }, - { - "noteType": "Bibliography", - "label": "Includes bibliographical references (p. [1235]). -- 504", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Access -- 506 blank,any", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Restricted Access -- 506 1,any", - "type": "bf:Note" - }, - { - "noteType": "Scale", - "label": "Scale (graphic) -- 507", - "type": "bf:Note" - }, - { - "noteType": "Credits", - "label": "Credits (Creation/production credits note) -- 508", - "type": "bf:Note" - }, - { - "noteType": "Performer", - "label": "Cast --511 1b", - "type": "bf:Note" - }, - { - "noteType": "Type of Report", - "label": "Type of Report. -- 513", - "type": "bf:Note" - }, - { - "noteType": "Data Quality", - "label": "Data quality -- 514", - "type": "bf:Note" - }, - { - "noteType": "Numbering", - "label": "Completely irregular. -- 515", - "type": "bf:Note" - }, - { - "noteType": "File Type", - "label": "File type. -- 516", - "type": "bf:Note" - }, - { - "noteType": "Event", - "label": "Event. -- 518", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience (2): Test of 2nd 521 field.", - "type": "bf:Note" - }, - { - "noteType": "Coverage", - "label": "Coverage -- 522", - "type": "bf:Note" - }, - { - "noteType": "Cite As", - "label": "Cite as: The Mega-MARC test record. -- 524", - "type": "bf:Note" - }, - { - "noteType": "Supplement", - "label": "Supplement -- 525", - "type": "bf:Note" - }, - { - "noteType": "Study Program", - "label": "Study program -- 526 8b ", - "type": "bf:Note" - }, - { - "noteType": "Additional Formats", - "label": "Other test records available. -- 530", - "type": "bf:Note" - }, - { - "noteType": "Reproduction", - "label": "Microfilm.", - "type": "bf:Note" - }, - { - "noteType": "Original Location", - "label": "Original location in SASB -- 535", - "type": "bf:Note" - }, - { - "noteType": "Funding", - "label": "Funding -- 536", - "type": "bf:Note" - }, - { - "noteType": "System Details", - "label": "System Details -- 538", - "type": "bf:Note" - }, - { - "noteType": "Terms of Use", - "label": "Use as test record -- 540", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source display-- 5411b", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", - "type": "bf:Note" - }, - { - "noteType": "Location of Other Archival Materials", - "label": "Location of Other Archival Materials -- 544", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 545", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 5451 Administrative history", - "type": "bf:Note" - }, - { - "noteType": "Language", - "label": "In English and non-roman scripts. -- 546", - "type": "bf:Note" - }, - { - "noteType": "Former Title", - "label": "Former title (complexity note) -- 547", - "type": "bf:Note" - }, - { - "noteType": "Issued By", - "label": "Issued by CCO -- 550", - "type": "bf:Note" - }, - { - "noteType": "Indexes/Finding Aids", - "label": "Indexes -- 555 bb", - "type": "bf:Note" - }, - { - "noteType": "Documentation", - "label": "Documentation (information about, note) -- 556", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance display --5611b", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", - "type": "bf:Note" - }, - { - "noteType": "Copy/Version", - "label": "Copy/Version (identification note) -- 562", - "type": "bf:Note" - }, - { - "noteType": "Binding", - "label": "Binding -- 563", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Complemented by Linking entry: Bogus title -- 580", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Linking Entry (complexity note) -- 580", - "type": "bf:Note" - }, - { - "noteType": "Publications", - "label": "Publications (about described material note) -- 581", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action display --583 1b", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", - "type": "bf:Note" - }, - { - "noteType": "Exhibitions", - "label": "Exhibitions -- 585", - "type": "bf:Note" - }, - { - "noteType": "Awards", - "label": "Awards -- 586", - "type": "bf:Note" - }, - { - "noteType": "Source of Description", - "label": "Latest issue consulted: 1900/1901. -- 588 1b", - "type": "bf:Note" - } - ], - "subjectLiteral_exploded": [ - "Starving artist", - "Starving artist -- 600 00", - "Artist, Starving, 1900-1999", - "Artist, Starving, 1900-1999 -- Autobiography.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject.", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers", - "Secret Society of Catalogers -- Periodicals.", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield", - "testing x as first subfield -- testing v as second subfield.", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", - "Conference subject entry.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield)", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g", - "testing 4 testing a testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title", - "Life is a common square.", - "Life is a common square. -- Criticism.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g", - "testing 4 testing a testing d testing e testing g -- testing v", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting", - "Textile industry testing datetesting -- 650 b0 $z, $x", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e", - "testing 4 testing a testing b testing c testing d testing e -- testing v", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.)", - "New York (N.Y.) -- 21st century", - "New York (N.Y.) -- 21st century -- Diaries.", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country.", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g", - "testing 4 testing a testing e testing g -- testing v", - "testing 4 testing a testing e testing g -- testing v -- testing x", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term", - "Indexed term -- 653" - ], - "numItemDatesParsed": [ - 0 - ], - "description": [ - "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", - "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" - ], - "numItemsTotal": [ - 2 - ], - "dateEndString": [ - "2011" - ], - "title": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" - ], - "numItemVolumesParsed": [ - 1 - ], - "createdString": [ - "201" - ], - "creatorLiteral": [ - "Gloger, Miriam.", - "BookOps. Cataloging. --110 2b ab.", - "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" - ], - "numElectronicResources": [ - 4 - ], - "contributorLiteral": [ - "Cramer, Richard, 1948-.", - "Cramer, Richard, 1948-", - "Bayer, Jeffrey.", - "Bayer, Jeffrey", - "New York Public Library Database Management Group. -- 710 2b", - "Conference added author. 711 2b", - "Added entry (uncontrolled name) -- 7201", - "Cramer, Richard, 1948- fmo", - "Virtual collection -- 791 2b" - ], - "donor": [ - "Donor / Sponsor -- 799 bb" - ], - "uniformTitle": [ - "T tagged 240 Uniform title -- t240", - "Added title -- 730 0b", - "CMA Test Records -- 830 b0" - ], - "dateEndYear": [ - 2011 - ], - "parallelTitleAlt": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "зглавие руссий" - ], - "genreForm": [ - "Genre heading.", - "Blank pages and looks – Someplace – 1990.", - "testing a – testing b – testing c – testing v – testing x – testing y – testing z" - ], - "idIsbn": [ - "0123456789", - "9780123456786 (qualifier)", - "ISBN -- 020" - ], - "numCheckinCardItems": [ - 0 - ], - "materialType": [ - { - "id": "resourcetypes:txt", - "label": "Text" - } - ], - "carrierType": [ - { - "id": "carriertypes:nc", - "label": "volume" - } - ], - "dateString": [ - "201" - ], - "titleDisplay": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." - ], - "uri": "b22144813", - "electronicResources": [ - { - "label": "856 40", - "url": "http://blogs.nypl.org/rcramer/" - }, - { - "label": "Yizkor Book (NYPL resource) 856 41", - "url": "http://yizkor.nypl.org/index.php?id=2936" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" - } - ], - "parallelTitleDisplay": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "placeOfPublication": [ - "[s.l.]", - "Long Island CIty, N.Y.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "issuance": [ - { - "id": "urn:biblevel:m", - "label": "monograph/item" - } - ], - "supplementaryContent": [ - { - "label": "Contents", - "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" - } - ], - "dimensions": [ - "26 cm +", - "26 cm. +", - "More 3rd instance -- 300 (3rd instance)" - ], - "idIsbn_clean": [ - "0123456789", - "9780123456786", - "020" - ] - }, - "sort": [ - 26.280298, - "b22144813" - ], - "inner_hits": { - "electronicResources": { - "hits": { - "total": { - "value": 0, - "relation": "eq" - }, - "max_score": null, - "hits": [] - } - }, - "items": { - "hits": { - "total": { - "value": 2, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 0 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:1", - "label": "Use in library" - } - ], - "accessMessage_packed": [ - "accessMessage:1||Use in library" - ], - "catalogItemType": [ - { - "id": "catalogItemType:2", - "label": "book non-circ" - } - ], - "catalogItemType_packed": [ - "catalogItemType:2||book non-circ" - ], - "enumerationChronology": [ - "v.1" - ], - "enumerationChronology_sort": [ - " 1-" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:mall1", - "label": "Schwarzman Building - Main Reading Room 315 - Reference" - } - ], - "holdingLocation_packed": [ - "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" - ], - "idBarcode": [ - "3333333333" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "urn:barcode:3333333333" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "type": "bf:ShelfMark" - }, - { - "value": "3333333333", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1101", - "label": "General Research Division" - } - ], - "owner_packed": [ - "orgs:1101||General Research Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - false - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", - "status": [ - { - "id": "status:k", - "label": "Check with staff" - } - ], - "status_packed": [ - "status:k||Check with staff" - ], - "type": [ - "bf:Item" - ], - "volumeRange": [ - { - "gte": 1, - "lte": 1 - } - ], - "uri": "i37857771" - }, - "sort": [ - " 1-" - ] - }, - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 1 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:2", - "label": "Request in advance" - } - ], - "accessMessage_packed": [ - "accessMessage:2||Request in advance" - ], - "catalogItemType": [ - { - "id": "catalogItemType:3", - "label": "serial" - } - ], - "catalogItemType_packed": [ - "catalogItemType:3||serial" - ], - "enumerationChronology": [ - "nothing" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:rcmf2", - "label": "Offsite" - } - ], - "holdingLocation_packed": [ - "loc:rcmf2||Offsite" - ], - "idBarcode": [ - "44455533322211" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "urn:barcode:44455533322211" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "type": "bf:ShelfMark" - }, - { - "value": "44455533322211", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1103", - "label": "Dorot Jewish Division" - } - ], - "owner_packed": [ - "orgs:1103||Dorot Jewish Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - true - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "status": [ - { - "id": "status:a", - "label": "Available" - } - ], - "status_packed": [ - "status:a||Available" - ], - "type": [ - "bf:Item" - ], - "uri": "i37857772" - }, - "sort": [ - null - ] - } - ] - } - } - } - } - ] - } - }, - "statusCode": 200 -} \ No newline at end of file diff --git a/test/fixtures/query-ca9d9f865cb98c5fce03bd414393c0be.json b/test/fixtures/query-ca9d9f865cb98c5fce03bd414393c0be.json deleted file mode 100644 index 857e2e9b..00000000 --- a/test/fixtures/query-ca9d9f865cb98c5fce03bd414393c0be.json +++ /dev/null @@ -1,971 +0,0 @@ -{ - "body": { - "took": 75, - "timed_out": false, - "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_score": 26.280298, - "_source": { - "extent": [ - "1234, [1] pages, x leaves : illustrations ;", - "1234, [1] p., x leaves : ill. ;", - "Third description instance : More 3rd instance ;" - ], - "partOf": [ - "In: -- 773 0b" - ], - "nyplSource": [ - "sierra-nypl" - ], - "serialPublicationDates": [ - "Publication Date (unformated) -- 362 1b" - ], - "publisherLiteral": [ - "Specious Publ. [prev.pub.-- 260.2b]", - "CopyCat pub. co. -- 260 bb" - ], - "language": [ - { - "id": "lang:eng", - "label": "English" - } - ], - "createdYear": [ - 201 - ], - "parallelTitle": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "type": [ - "nypl:Item" - ], - "shelfMark": [ - "Q-TAG (852 8b q tag. Staff call in bib.)" - ], - "idLccn": [ - "LCCN -- 010", - "9790001138673", - "ISMN", - "Danacode", - "UPC", - "EAN" - ], - "idIssn": [ - "ISSN -- 022" - ], - "seriesStatement": [ - "440 Series ; v. number -- 440 b0", - "490 Series ; v. number -- 490 0b", - "Author, of series. CMA Test Records. -- 800 1b", - "CMA (Cat). CMA Test Records -- 810 2b " - ], - "dateStartYear": [ - 201 - ], - "parallelCreatorLiteral": [ - "‏גלוגר,מרים פ." - ], - "identifierV2": [ - { - "type": "bf:ShelfMark", - "value": "Q-TAG (852 8b q tag. Staff call in bib.)" - }, - { - "type": "nypl:Bnumber", - "value": "22144813" - }, - { - "type": "bf:Isbn", - "value": "0123456789" - }, - { - "type": "bf:Isbn", - "value": "9780123456786 (qualifier)" - }, - { - "type": "bf:Isbn", - "value": "ISBN -- 020" - }, - { - "type": "bf:Isbn", - "identifierStatus": "canceled/invalid", - "value": "ISBN -- 020 $z" - }, - { - "type": "bf:Lccn", - "value": "LCCN -- 010" - }, - { - "type": "bf:Lccn", - "value": "9790001138673" - }, - { - "type": "bf:Lccn", - "value": "ISMN" - }, - { - "type": "bf:Lccn", - "value": "Danacode" - }, - { - "type": "bf:Lccn", - "value": "UPC" - }, - { - "type": "bf:Lccn", - "value": "EAN" - }, - { - "type": "bf:Issn", - "value": "ISSN -- 022" - }, - { - "type": "bf:Identifier", - "value": "Report number. -- 027" - }, - { - "type": "bf:Identifier", - "value": "Publisher no. -- 028 02 " - }, - { - "type": "bf:Identifier", - "value": "Standard number (old RLIN, etc.) -- 035" - }, - { - "type": "bf:Identifier", - "value": "Sudoc no. -- 086" - }, - { - "type": "bf:Identifier", - "value": "GPO Item number. -- 074" - } - ], - "formerTitle": [ - "Former title -- 247 00" - ], - "updatedAt": 1711656889146, - "publicationStatement": [ - "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", - "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "identifier": [ - "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", - "urn:bnum:22144813", - "urn:isbn:0123456789", - "urn:isbn:9780123456786 (qualifier)", - "urn:isbn:ISBN -- 020", - "urn:isbn:ISBN -- 020 $z", - "urn:lccn:LCCN -- 010", - "urn:lccn:9790001138673", - "urn:lccn:ISMN", - "urn:lccn:Danacode", - "urn:lccn:UPC", - "urn:lccn:EAN", - "urn:issn:ISSN -- 022", - "urn:identifier:Report number. -- 027", - "urn:identifier:Publisher no. -- 028 02 ", - "urn:identifier:Standard number (old RLIN, etc.) -- 035", - "urn:identifier:Sudoc no. -- 086", - "urn:identifier:GPO Item number. -- 074" - ], - "mediaType": [ - { - "id": "mediatypes:n", - "label": "unmediated" - } - ], - "subjectLiteral": [ - "Starving artist -- 600 00.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term -- 653" - ], - "titleAlt": [ - "Abrev. title -- 210 ", - "Key title -- 222 ", - "T tagged 240 Uniform title -- t240", - "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", - "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", - "Portion of title 246 30", - "Parallel title 246 31", - "Distinctive title 246 12", - "Other title 246 13", - "Cover title 246 14", - "Cover title 246 04", - "Added title page title 246 15", - "Running title 246 17", - "Caption title 246 16", - "Spine title 246 18", - "No type of title specified 246 3 blank", - "246 1 blank", - "Zaglavie Russiĭi", - "Added title -- 740 0b" - ], - "tableOfContents": [ - "Complete table of contents. -- 505 0b", - "1. Incomplete table of contents. -- First instance.-- 505 1b", - "2. Incomplete table of contents -- Second instance. 505 1b", - "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", - "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." - ], - "note": [ - { - "noteType": "Note", - "label": "Ordinary note. -- 500", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "²³¹", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "⠀⠀⠀\\___( ツ )___", - "type": "bf:Note" - }, - { - "noteType": "With", - "label": "Bound with note. -- 501", - "type": "bf:Note" - }, - { - "noteType": "Thesis", - "label": "Thesis -- (degree) note. -- 502", - "type": "bf:Note" - }, - { - "noteType": "Bibliography", - "label": "Includes bibliographical references (p. [1235]). -- 504", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Access -- 506 blank,any", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Restricted Access -- 506 1,any", - "type": "bf:Note" - }, - { - "noteType": "Scale", - "label": "Scale (graphic) -- 507", - "type": "bf:Note" - }, - { - "noteType": "Credits", - "label": "Credits (Creation/production credits note) -- 508", - "type": "bf:Note" - }, - { - "noteType": "Performer", - "label": "Cast --511 1b", - "type": "bf:Note" - }, - { - "noteType": "Type of Report", - "label": "Type of Report. -- 513", - "type": "bf:Note" - }, - { - "noteType": "Data Quality", - "label": "Data quality -- 514", - "type": "bf:Note" - }, - { - "noteType": "Numbering", - "label": "Completely irregular. -- 515", - "type": "bf:Note" - }, - { - "noteType": "File Type", - "label": "File type. -- 516", - "type": "bf:Note" - }, - { - "noteType": "Event", - "label": "Event. -- 518", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience (2): Test of 2nd 521 field.", - "type": "bf:Note" - }, - { - "noteType": "Coverage", - "label": "Coverage -- 522", - "type": "bf:Note" - }, - { - "noteType": "Cite As", - "label": "Cite as: The Mega-MARC test record. -- 524", - "type": "bf:Note" - }, - { - "noteType": "Supplement", - "label": "Supplement -- 525", - "type": "bf:Note" - }, - { - "noteType": "Study Program", - "label": "Study program -- 526 8b ", - "type": "bf:Note" - }, - { - "noteType": "Additional Formats", - "label": "Other test records available. -- 530", - "type": "bf:Note" - }, - { - "noteType": "Reproduction", - "label": "Microfilm.", - "type": "bf:Note" - }, - { - "noteType": "Original Location", - "label": "Original location in SASB -- 535", - "type": "bf:Note" - }, - { - "noteType": "Funding", - "label": "Funding -- 536", - "type": "bf:Note" - }, - { - "noteType": "System Details", - "label": "System Details -- 538", - "type": "bf:Note" - }, - { - "noteType": "Terms of Use", - "label": "Use as test record -- 540", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source display-- 5411b", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", - "type": "bf:Note" - }, - { - "noteType": "Location of Other Archival Materials", - "label": "Location of Other Archival Materials -- 544", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 545", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 5451 Administrative history", - "type": "bf:Note" - }, - { - "noteType": "Language", - "label": "In English and non-roman scripts. -- 546", - "type": "bf:Note" - }, - { - "noteType": "Former Title", - "label": "Former title (complexity note) -- 547", - "type": "bf:Note" - }, - { - "noteType": "Issued By", - "label": "Issued by CCO -- 550", - "type": "bf:Note" - }, - { - "noteType": "Indexes/Finding Aids", - "label": "Indexes -- 555 bb", - "type": "bf:Note" - }, - { - "noteType": "Documentation", - "label": "Documentation (information about, note) -- 556", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance display --5611b", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", - "type": "bf:Note" - }, - { - "noteType": "Copy/Version", - "label": "Copy/Version (identification note) -- 562", - "type": "bf:Note" - }, - { - "noteType": "Binding", - "label": "Binding -- 563", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Complemented by Linking entry: Bogus title -- 580", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Linking Entry (complexity note) -- 580", - "type": "bf:Note" - }, - { - "noteType": "Publications", - "label": "Publications (about described material note) -- 581", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action display --583 1b", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", - "type": "bf:Note" - }, - { - "noteType": "Exhibitions", - "label": "Exhibitions -- 585", - "type": "bf:Note" - }, - { - "noteType": "Awards", - "label": "Awards -- 586", - "type": "bf:Note" - }, - { - "noteType": "Source of Description", - "label": "Latest issue consulted: 1900/1901. -- 588 1b", - "type": "bf:Note" - } - ], - "subjectLiteral_exploded": [ - "Starving artist", - "Starving artist -- 600 00", - "Artist, Starving, 1900-1999", - "Artist, Starving, 1900-1999 -- Autobiography.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject.", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers", - "Secret Society of Catalogers -- Periodicals.", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield", - "testing x as first subfield -- testing v as second subfield.", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", - "Conference subject entry.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield)", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g", - "testing 4 testing a testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title", - "Life is a common square.", - "Life is a common square. -- Criticism.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g", - "testing 4 testing a testing d testing e testing g -- testing v", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting", - "Textile industry testing datetesting -- 650 b0 $z, $x", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e", - "testing 4 testing a testing b testing c testing d testing e -- testing v", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.)", - "New York (N.Y.) -- 21st century", - "New York (N.Y.) -- 21st century -- Diaries.", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country.", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g", - "testing 4 testing a testing e testing g -- testing v", - "testing 4 testing a testing e testing g -- testing v -- testing x", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term", - "Indexed term -- 653" - ], - "numItemDatesParsed": [ - 0 - ], - "description": [ - "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", - "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" - ], - "numItemsTotal": [ - 2 - ], - "dateEndString": [ - "2011" - ], - "title": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" - ], - "numItemVolumesParsed": [ - 1 - ], - "createdString": [ - "201" - ], - "creatorLiteral": [ - "Gloger, Miriam.", - "BookOps. Cataloging. --110 2b ab.", - "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" - ], - "numElectronicResources": [ - 4 - ], - "contributorLiteral": [ - "Cramer, Richard, 1948-.", - "Cramer, Richard, 1948-", - "Bayer, Jeffrey.", - "Bayer, Jeffrey", - "New York Public Library Database Management Group. -- 710 2b", - "Conference added author. 711 2b", - "Added entry (uncontrolled name) -- 7201", - "Cramer, Richard, 1948- fmo", - "Virtual collection -- 791 2b" - ], - "donor": [ - "Donor / Sponsor -- 799 bb" - ], - "uniformTitle": [ - "T tagged 240 Uniform title -- t240", - "Added title -- 730 0b", - "CMA Test Records -- 830 b0" - ], - "dateEndYear": [ - 2011 - ], - "parallelTitleAlt": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "зглавие руссий" - ], - "genreForm": [ - "Genre heading.", - "Blank pages and looks – Someplace – 1990.", - "testing a – testing b – testing c – testing v – testing x – testing y – testing z" - ], - "idIsbn": [ - "0123456789", - "9780123456786 (qualifier)", - "ISBN -- 020" - ], - "numCheckinCardItems": [ - 0 - ], - "materialType": [ - { - "id": "resourcetypes:txt", - "label": "Text" - } - ], - "carrierType": [ - { - "id": "carriertypes:nc", - "label": "volume" - } - ], - "dateString": [ - "201" - ], - "titleDisplay": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." - ], - "uri": "b22144813", - "electronicResources": [ - { - "label": "856 40", - "url": "http://blogs.nypl.org/rcramer/" - }, - { - "label": "Yizkor Book (NYPL resource) 856 41", - "url": "http://yizkor.nypl.org/index.php?id=2936" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" - } - ], - "parallelTitleDisplay": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "placeOfPublication": [ - "[s.l.]", - "Long Island CIty, N.Y.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "issuance": [ - { - "id": "urn:biblevel:m", - "label": "monograph/item" - } - ], - "supplementaryContent": [ - { - "label": "Contents", - "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" - } - ], - "dimensions": [ - "26 cm +", - "26 cm. +", - "More 3rd instance -- 300 (3rd instance)" - ], - "idIsbn_clean": [ - "0123456789", - "9780123456786", - "020" - ] - }, - "sort": [ - 26.280298, - "b22144813" - ], - "inner_hits": { - "electronicResources": { - "hits": { - "total": { - "value": 0, - "relation": "eq" - }, - "max_score": null, - "hits": [] - } - }, - "items": { - "hits": { - "total": { - "value": 2, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 0 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:1", - "label": "Use in library" - } - ], - "accessMessage_packed": [ - "accessMessage:1||Use in library" - ], - "catalogItemType": [ - { - "id": "catalogItemType:2", - "label": "book non-circ" - } - ], - "catalogItemType_packed": [ - "catalogItemType:2||book non-circ" - ], - "enumerationChronology": [ - "v.1" - ], - "enumerationChronology_sort": [ - " 1-" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:mall1", - "label": "Schwarzman Building - Main Reading Room 315 - Reference" - } - ], - "holdingLocation_packed": [ - "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" - ], - "idBarcode": [ - "3333333333" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "urn:barcode:3333333333" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "type": "bf:ShelfMark" - }, - { - "value": "3333333333", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1101", - "label": "General Research Division" - } - ], - "owner_packed": [ - "orgs:1101||General Research Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - false - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", - "status": [ - { - "id": "status:k", - "label": "Check with staff" - } - ], - "status_packed": [ - "status:k||Check with staff" - ], - "type": [ - "bf:Item" - ], - "volumeRange": [ - { - "gte": 1, - "lte": 1 - } - ], - "uri": "i37857771" - }, - "sort": [ - " 1-" - ] - }, - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 1 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:2", - "label": "Request in advance" - } - ], - "accessMessage_packed": [ - "accessMessage:2||Request in advance" - ], - "catalogItemType": [ - { - "id": "catalogItemType:3", - "label": "serial" - } - ], - "catalogItemType_packed": [ - "catalogItemType:3||serial" - ], - "enumerationChronology": [ - "nothing" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:rcmf2", - "label": "Offsite" - } - ], - "holdingLocation_packed": [ - "loc:rcmf2||Offsite" - ], - "idBarcode": [ - "44455533322211" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "urn:barcode:44455533322211" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "type": "bf:ShelfMark" - }, - { - "value": "44455533322211", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1103", - "label": "Dorot Jewish Division" - } - ], - "owner_packed": [ - "orgs:1103||Dorot Jewish Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - true - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "status": [ - { - "id": "status:a", - "label": "Available" - } - ], - "status_packed": [ - "status:a||Available" - ], - "type": [ - "bf:Item" - ], - "uri": "i37857772" - }, - "sort": [ - null - ] - } - ] - } - } - } - } - ] - } - }, - "statusCode": 200 -} \ No newline at end of file diff --git a/test/fixtures/query-cb7465ae7b7851f8f3453303cdc7c1c4.json b/test/fixtures/query-cb7465ae7b7851f8f3453303cdc7c1c4.json deleted file mode 100644 index 9b598f2b..00000000 --- a/test/fixtures/query-cb7465ae7b7851f8f3453303cdc7c1c4.json +++ /dev/null @@ -1,971 +0,0 @@ -{ - "body": { - "took": 19, - "timed_out": false, - "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_score": 34.073437, - "_source": { - "extent": [ - "1234, [1] pages, x leaves : illustrations ;", - "1234, [1] p., x leaves : ill. ;", - "Third description instance : More 3rd instance ;" - ], - "partOf": [ - "In: -- 773 0b" - ], - "nyplSource": [ - "sierra-nypl" - ], - "serialPublicationDates": [ - "Publication Date (unformated) -- 362 1b" - ], - "publisherLiteral": [ - "Specious Publ. [prev.pub.-- 260.2b]", - "CopyCat pub. co. -- 260 bb" - ], - "language": [ - { - "id": "lang:eng", - "label": "English" - } - ], - "createdYear": [ - 201 - ], - "parallelTitle": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "type": [ - "nypl:Item" - ], - "shelfMark": [ - "Q-TAG (852 8b q tag. Staff call in bib.)" - ], - "idLccn": [ - "LCCN -- 010", - "9790001138673", - "ISMN", - "Danacode", - "UPC", - "EAN" - ], - "idIssn": [ - "ISSN -- 022" - ], - "seriesStatement": [ - "440 Series ; v. number -- 440 b0", - "490 Series ; v. number -- 490 0b", - "Author, of series. CMA Test Records. -- 800 1b", - "CMA (Cat). CMA Test Records -- 810 2b " - ], - "dateStartYear": [ - 201 - ], - "parallelCreatorLiteral": [ - "‏גלוגר,מרים פ." - ], - "identifierV2": [ - { - "type": "bf:ShelfMark", - "value": "Q-TAG (852 8b q tag. Staff call in bib.)" - }, - { - "type": "nypl:Bnumber", - "value": "22144813" - }, - { - "type": "bf:Isbn", - "value": "0123456789" - }, - { - "type": "bf:Isbn", - "value": "9780123456786 (qualifier)" - }, - { - "type": "bf:Isbn", - "value": "ISBN -- 020" - }, - { - "type": "bf:Isbn", - "identifierStatus": "canceled/invalid", - "value": "ISBN -- 020 $z" - }, - { - "type": "bf:Lccn", - "value": "LCCN -- 010" - }, - { - "type": "bf:Lccn", - "value": "9790001138673" - }, - { - "type": "bf:Lccn", - "value": "ISMN" - }, - { - "type": "bf:Lccn", - "value": "Danacode" - }, - { - "type": "bf:Lccn", - "value": "UPC" - }, - { - "type": "bf:Lccn", - "value": "EAN" - }, - { - "type": "bf:Issn", - "value": "ISSN -- 022" - }, - { - "type": "bf:Identifier", - "value": "Report number. -- 027" - }, - { - "type": "bf:Identifier", - "value": "Publisher no. -- 028 02 " - }, - { - "type": "bf:Identifier", - "value": "Standard number (old RLIN, etc.) -- 035" - }, - { - "type": "bf:Identifier", - "value": "Sudoc no. -- 086" - }, - { - "type": "bf:Identifier", - "value": "GPO Item number. -- 074" - } - ], - "formerTitle": [ - "Former title -- 247 00" - ], - "updatedAt": 1711656889146, - "publicationStatement": [ - "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", - "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "identifier": [ - "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", - "urn:bnum:22144813", - "urn:isbn:0123456789", - "urn:isbn:9780123456786 (qualifier)", - "urn:isbn:ISBN -- 020", - "urn:isbn:ISBN -- 020 $z", - "urn:lccn:LCCN -- 010", - "urn:lccn:9790001138673", - "urn:lccn:ISMN", - "urn:lccn:Danacode", - "urn:lccn:UPC", - "urn:lccn:EAN", - "urn:issn:ISSN -- 022", - "urn:identifier:Report number. -- 027", - "urn:identifier:Publisher no. -- 028 02 ", - "urn:identifier:Standard number (old RLIN, etc.) -- 035", - "urn:identifier:Sudoc no. -- 086", - "urn:identifier:GPO Item number. -- 074" - ], - "mediaType": [ - { - "id": "mediatypes:n", - "label": "unmediated" - } - ], - "subjectLiteral": [ - "Starving artist -- 600 00.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term -- 653" - ], - "titleAlt": [ - "Abrev. title -- 210 ", - "Key title -- 222 ", - "T tagged 240 Uniform title -- t240", - "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", - "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", - "Portion of title 246 30", - "Parallel title 246 31", - "Distinctive title 246 12", - "Other title 246 13", - "Cover title 246 14", - "Cover title 246 04", - "Added title page title 246 15", - "Running title 246 17", - "Caption title 246 16", - "Spine title 246 18", - "No type of title specified 246 3 blank", - "246 1 blank", - "Zaglavie Russiĭi", - "Added title -- 740 0b" - ], - "tableOfContents": [ - "Complete table of contents. -- 505 0b", - "1. Incomplete table of contents. -- First instance.-- 505 1b", - "2. Incomplete table of contents -- Second instance. 505 1b", - "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", - "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." - ], - "note": [ - { - "noteType": "Note", - "label": "Ordinary note. -- 500", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "²³¹", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "⠀⠀⠀\\___( ツ )___", - "type": "bf:Note" - }, - { - "noteType": "With", - "label": "Bound with note. -- 501", - "type": "bf:Note" - }, - { - "noteType": "Thesis", - "label": "Thesis -- (degree) note. -- 502", - "type": "bf:Note" - }, - { - "noteType": "Bibliography", - "label": "Includes bibliographical references (p. [1235]). -- 504", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Access -- 506 blank,any", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Restricted Access -- 506 1,any", - "type": "bf:Note" - }, - { - "noteType": "Scale", - "label": "Scale (graphic) -- 507", - "type": "bf:Note" - }, - { - "noteType": "Credits", - "label": "Credits (Creation/production credits note) -- 508", - "type": "bf:Note" - }, - { - "noteType": "Performer", - "label": "Cast --511 1b", - "type": "bf:Note" - }, - { - "noteType": "Type of Report", - "label": "Type of Report. -- 513", - "type": "bf:Note" - }, - { - "noteType": "Data Quality", - "label": "Data quality -- 514", - "type": "bf:Note" - }, - { - "noteType": "Numbering", - "label": "Completely irregular. -- 515", - "type": "bf:Note" - }, - { - "noteType": "File Type", - "label": "File type. -- 516", - "type": "bf:Note" - }, - { - "noteType": "Event", - "label": "Event. -- 518", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience (2): Test of 2nd 521 field.", - "type": "bf:Note" - }, - { - "noteType": "Coverage", - "label": "Coverage -- 522", - "type": "bf:Note" - }, - { - "noteType": "Cite As", - "label": "Cite as: The Mega-MARC test record. -- 524", - "type": "bf:Note" - }, - { - "noteType": "Supplement", - "label": "Supplement -- 525", - "type": "bf:Note" - }, - { - "noteType": "Study Program", - "label": "Study program -- 526 8b ", - "type": "bf:Note" - }, - { - "noteType": "Additional Formats", - "label": "Other test records available. -- 530", - "type": "bf:Note" - }, - { - "noteType": "Reproduction", - "label": "Microfilm.", - "type": "bf:Note" - }, - { - "noteType": "Original Location", - "label": "Original location in SASB -- 535", - "type": "bf:Note" - }, - { - "noteType": "Funding", - "label": "Funding -- 536", - "type": "bf:Note" - }, - { - "noteType": "System Details", - "label": "System Details -- 538", - "type": "bf:Note" - }, - { - "noteType": "Terms of Use", - "label": "Use as test record -- 540", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source display-- 5411b", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", - "type": "bf:Note" - }, - { - "noteType": "Location of Other Archival Materials", - "label": "Location of Other Archival Materials -- 544", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 545", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 5451 Administrative history", - "type": "bf:Note" - }, - { - "noteType": "Language", - "label": "In English and non-roman scripts. -- 546", - "type": "bf:Note" - }, - { - "noteType": "Former Title", - "label": "Former title (complexity note) -- 547", - "type": "bf:Note" - }, - { - "noteType": "Issued By", - "label": "Issued by CCO -- 550", - "type": "bf:Note" - }, - { - "noteType": "Indexes/Finding Aids", - "label": "Indexes -- 555 bb", - "type": "bf:Note" - }, - { - "noteType": "Documentation", - "label": "Documentation (information about, note) -- 556", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance display --5611b", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", - "type": "bf:Note" - }, - { - "noteType": "Copy/Version", - "label": "Copy/Version (identification note) -- 562", - "type": "bf:Note" - }, - { - "noteType": "Binding", - "label": "Binding -- 563", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Complemented by Linking entry: Bogus title -- 580", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Linking Entry (complexity note) -- 580", - "type": "bf:Note" - }, - { - "noteType": "Publications", - "label": "Publications (about described material note) -- 581", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action display --583 1b", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", - "type": "bf:Note" - }, - { - "noteType": "Exhibitions", - "label": "Exhibitions -- 585", - "type": "bf:Note" - }, - { - "noteType": "Awards", - "label": "Awards -- 586", - "type": "bf:Note" - }, - { - "noteType": "Source of Description", - "label": "Latest issue consulted: 1900/1901. -- 588 1b", - "type": "bf:Note" - } - ], - "subjectLiteral_exploded": [ - "Starving artist", - "Starving artist -- 600 00", - "Artist, Starving, 1900-1999", - "Artist, Starving, 1900-1999 -- Autobiography.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject.", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers", - "Secret Society of Catalogers -- Periodicals.", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield", - "testing x as first subfield -- testing v as second subfield.", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", - "Conference subject entry.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield)", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g", - "testing 4 testing a testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title", - "Life is a common square.", - "Life is a common square. -- Criticism.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g", - "testing 4 testing a testing d testing e testing g -- testing v", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting", - "Textile industry testing datetesting -- 650 b0 $z, $x", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e", - "testing 4 testing a testing b testing c testing d testing e -- testing v", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.)", - "New York (N.Y.) -- 21st century", - "New York (N.Y.) -- 21st century -- Diaries.", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country.", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g", - "testing 4 testing a testing e testing g -- testing v", - "testing 4 testing a testing e testing g -- testing v -- testing x", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term", - "Indexed term -- 653" - ], - "numItemDatesParsed": [ - 0 - ], - "description": [ - "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", - "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" - ], - "numItemsTotal": [ - 2 - ], - "dateEndString": [ - "2011" - ], - "title": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" - ], - "numItemVolumesParsed": [ - 1 - ], - "createdString": [ - "201" - ], - "creatorLiteral": [ - "Gloger, Miriam.", - "BookOps. Cataloging. --110 2b ab.", - "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" - ], - "numElectronicResources": [ - 4 - ], - "contributorLiteral": [ - "Cramer, Richard, 1948-.", - "Cramer, Richard, 1948-", - "Bayer, Jeffrey.", - "Bayer, Jeffrey", - "New York Public Library Database Management Group. -- 710 2b", - "Conference added author. 711 2b", - "Added entry (uncontrolled name) -- 7201", - "Cramer, Richard, 1948- fmo", - "Virtual collection -- 791 2b" - ], - "donor": [ - "Donor / Sponsor -- 799 bb" - ], - "uniformTitle": [ - "T tagged 240 Uniform title -- t240", - "Added title -- 730 0b", - "CMA Test Records -- 830 b0" - ], - "dateEndYear": [ - 2011 - ], - "parallelTitleAlt": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "зглавие руссий" - ], - "genreForm": [ - "Genre heading.", - "Blank pages and looks – Someplace – 1990.", - "testing a – testing b – testing c – testing v – testing x – testing y – testing z" - ], - "idIsbn": [ - "0123456789", - "9780123456786 (qualifier)", - "ISBN -- 020" - ], - "numCheckinCardItems": [ - 0 - ], - "materialType": [ - { - "id": "resourcetypes:txt", - "label": "Text" - } - ], - "carrierType": [ - { - "id": "carriertypes:nc", - "label": "volume" - } - ], - "dateString": [ - "201" - ], - "titleDisplay": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." - ], - "uri": "b22144813", - "electronicResources": [ - { - "label": "856 40", - "url": "http://blogs.nypl.org/rcramer/" - }, - { - "label": "Yizkor Book (NYPL resource) 856 41", - "url": "http://yizkor.nypl.org/index.php?id=2936" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" - } - ], - "parallelTitleDisplay": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "placeOfPublication": [ - "[s.l.]", - "Long Island CIty, N.Y.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "issuance": [ - { - "id": "urn:biblevel:m", - "label": "monograph/item" - } - ], - "supplementaryContent": [ - { - "label": "Contents", - "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" - } - ], - "dimensions": [ - "26 cm +", - "26 cm. +", - "More 3rd instance -- 300 (3rd instance)" - ], - "idIsbn_clean": [ - "0123456789", - "9780123456786", - "020" - ] - }, - "sort": [ - 34.073437, - "b22144813" - ], - "inner_hits": { - "electronicResources": { - "hits": { - "total": { - "value": 0, - "relation": "eq" - }, - "max_score": null, - "hits": [] - } - }, - "items": { - "hits": { - "total": { - "value": 2, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 0 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:1", - "label": "Use in library" - } - ], - "accessMessage_packed": [ - "accessMessage:1||Use in library" - ], - "catalogItemType": [ - { - "id": "catalogItemType:2", - "label": "book non-circ" - } - ], - "catalogItemType_packed": [ - "catalogItemType:2||book non-circ" - ], - "enumerationChronology": [ - "v.1" - ], - "enumerationChronology_sort": [ - " 1-" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:mall1", - "label": "Schwarzman Building - Main Reading Room 315 - Reference" - } - ], - "holdingLocation_packed": [ - "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" - ], - "idBarcode": [ - "3333333333" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "urn:barcode:3333333333" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "type": "bf:ShelfMark" - }, - { - "value": "3333333333", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1101", - "label": "General Research Division" - } - ], - "owner_packed": [ - "orgs:1101||General Research Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - false - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", - "status": [ - { - "id": "status:k", - "label": "Check with staff" - } - ], - "status_packed": [ - "status:k||Check with staff" - ], - "type": [ - "bf:Item" - ], - "volumeRange": [ - { - "gte": 1, - "lte": 1 - } - ], - "uri": "i37857771" - }, - "sort": [ - " 1-" - ] - }, - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 1 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:2", - "label": "Request in advance" - } - ], - "accessMessage_packed": [ - "accessMessage:2||Request in advance" - ], - "catalogItemType": [ - { - "id": "catalogItemType:3", - "label": "serial" - } - ], - "catalogItemType_packed": [ - "catalogItemType:3||serial" - ], - "enumerationChronology": [ - "nothing" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:rcmf2", - "label": "Offsite" - } - ], - "holdingLocation_packed": [ - "loc:rcmf2||Offsite" - ], - "idBarcode": [ - "44455533322211" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "urn:barcode:44455533322211" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "type": "bf:ShelfMark" - }, - { - "value": "44455533322211", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1103", - "label": "Dorot Jewish Division" - } - ], - "owner_packed": [ - "orgs:1103||Dorot Jewish Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - true - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "status": [ - { - "id": "status:a", - "label": "Available" - } - ], - "status_packed": [ - "status:a||Available" - ], - "type": [ - "bf:Item" - ], - "uri": "i37857772" - }, - "sort": [ - null - ] - } - ] - } - } - } - } - ] - } - }, - "statusCode": 200 -} \ No newline at end of file diff --git a/test/fixtures/query-e10820b75bcc5f9417a5e0cee75b3ce5.json b/test/fixtures/query-e10820b75bcc5f9417a5e0cee75b3ce5.json deleted file mode 100644 index 99f84a94..00000000 --- a/test/fixtures/query-e10820b75bcc5f9417a5e0cee75b3ce5.json +++ /dev/null @@ -1,971 +0,0 @@ -{ - "body": { - "took": 38, - "timed_out": false, - "_shards": { - "total": 2, - "successful": 2, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_score": 26.280298, - "_source": { - "extent": [ - "1234, [1] pages, x leaves : illustrations ;", - "1234, [1] p., x leaves : ill. ;", - "Third description instance : More 3rd instance ;" - ], - "partOf": [ - "In: -- 773 0b" - ], - "nyplSource": [ - "sierra-nypl" - ], - "serialPublicationDates": [ - "Publication Date (unformated) -- 362 1b" - ], - "publisherLiteral": [ - "Specious Publ. [prev.pub.-- 260.2b]", - "CopyCat pub. co. -- 260 bb" - ], - "language": [ - { - "id": "lang:eng", - "label": "English" - } - ], - "createdYear": [ - 201 - ], - "parallelTitle": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "type": [ - "nypl:Item" - ], - "shelfMark": [ - "Q-TAG (852 8b q tag. Staff call in bib.)" - ], - "idLccn": [ - "LCCN -- 010", - "9790001138673", - "ISMN", - "Danacode", - "UPC", - "EAN" - ], - "idIssn": [ - "ISSN -- 022" - ], - "seriesStatement": [ - "440 Series ; v. number -- 440 b0", - "490 Series ; v. number -- 490 0b", - "Author, of series. CMA Test Records. -- 800 1b", - "CMA (Cat). CMA Test Records -- 810 2b " - ], - "dateStartYear": [ - 201 - ], - "parallelCreatorLiteral": [ - "‏גלוגר,מרים פ." - ], - "identifierV2": [ - { - "type": "bf:ShelfMark", - "value": "Q-TAG (852 8b q tag. Staff call in bib.)" - }, - { - "type": "nypl:Bnumber", - "value": "22144813" - }, - { - "type": "bf:Isbn", - "value": "0123456789" - }, - { - "type": "bf:Isbn", - "value": "9780123456786 (qualifier)" - }, - { - "type": "bf:Isbn", - "value": "ISBN -- 020" - }, - { - "type": "bf:Isbn", - "identifierStatus": "canceled/invalid", - "value": "ISBN -- 020 $z" - }, - { - "type": "bf:Lccn", - "value": "LCCN -- 010" - }, - { - "type": "bf:Lccn", - "value": "9790001138673" - }, - { - "type": "bf:Lccn", - "value": "ISMN" - }, - { - "type": "bf:Lccn", - "value": "Danacode" - }, - { - "type": "bf:Lccn", - "value": "UPC" - }, - { - "type": "bf:Lccn", - "value": "EAN" - }, - { - "type": "bf:Issn", - "value": "ISSN -- 022" - }, - { - "type": "bf:Identifier", - "value": "Report number. -- 027" - }, - { - "type": "bf:Identifier", - "value": "Publisher no. -- 028 02 " - }, - { - "type": "bf:Identifier", - "value": "Standard number (old RLIN, etc.) -- 035" - }, - { - "type": "bf:Identifier", - "value": "Sudoc no. -- 086" - }, - { - "type": "bf:Identifier", - "value": "GPO Item number. -- 074" - } - ], - "formerTitle": [ - "Former title -- 247 00" - ], - "updatedAt": 1711656889146, - "publicationStatement": [ - "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", - "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "identifier": [ - "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", - "urn:bnum:22144813", - "urn:isbn:0123456789", - "urn:isbn:9780123456786 (qualifier)", - "urn:isbn:ISBN -- 020", - "urn:isbn:ISBN -- 020 $z", - "urn:lccn:LCCN -- 010", - "urn:lccn:9790001138673", - "urn:lccn:ISMN", - "urn:lccn:Danacode", - "urn:lccn:UPC", - "urn:lccn:EAN", - "urn:issn:ISSN -- 022", - "urn:identifier:Report number. -- 027", - "urn:identifier:Publisher no. -- 028 02 ", - "urn:identifier:Standard number (old RLIN, etc.) -- 035", - "urn:identifier:Sudoc no. -- 086", - "urn:identifier:GPO Item number. -- 074" - ], - "mediaType": [ - { - "id": "mediatypes:n", - "label": "unmediated" - } - ], - "subjectLiteral": [ - "Starving artist -- 600 00.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term -- 653" - ], - "titleAlt": [ - "Abrev. title -- 210 ", - "Key title -- 222 ", - "T tagged 240 Uniform title -- t240", - "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", - "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", - "Portion of title 246 30", - "Parallel title 246 31", - "Distinctive title 246 12", - "Other title 246 13", - "Cover title 246 14", - "Cover title 246 04", - "Added title page title 246 15", - "Running title 246 17", - "Caption title 246 16", - "Spine title 246 18", - "No type of title specified 246 3 blank", - "246 1 blank", - "Zaglavie Russiĭi", - "Added title -- 740 0b" - ], - "tableOfContents": [ - "Complete table of contents. -- 505 0b", - "1. Incomplete table of contents. -- First instance.-- 505 1b", - "2. Incomplete table of contents -- Second instance. 505 1b", - "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", - "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." - ], - "note": [ - { - "noteType": "Note", - "label": "Ordinary note. -- 500", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "²³¹", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", - "type": "bf:Note" - }, - { - "noteType": "Note", - "label": "⠀⠀⠀\\___( ツ )___", - "type": "bf:Note" - }, - { - "noteType": "With", - "label": "Bound with note. -- 501", - "type": "bf:Note" - }, - { - "noteType": "Thesis", - "label": "Thesis -- (degree) note. -- 502", - "type": "bf:Note" - }, - { - "noteType": "Bibliography", - "label": "Includes bibliographical references (p. [1235]). -- 504", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Access -- 506 blank,any", - "type": "bf:Note" - }, - { - "noteType": "Access", - "label": "Restricted Access -- 506 1,any", - "type": "bf:Note" - }, - { - "noteType": "Scale", - "label": "Scale (graphic) -- 507", - "type": "bf:Note" - }, - { - "noteType": "Credits", - "label": "Credits (Creation/production credits note) -- 508", - "type": "bf:Note" - }, - { - "noteType": "Performer", - "label": "Cast --511 1b", - "type": "bf:Note" - }, - { - "noteType": "Type of Report", - "label": "Type of Report. -- 513", - "type": "bf:Note" - }, - { - "noteType": "Data Quality", - "label": "Data quality -- 514", - "type": "bf:Note" - }, - { - "noteType": "Numbering", - "label": "Completely irregular. -- 515", - "type": "bf:Note" - }, - { - "noteType": "File Type", - "label": "File type. -- 516", - "type": "bf:Note" - }, - { - "noteType": "Event", - "label": "Event. -- 518", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", - "type": "bf:Note" - }, - { - "noteType": "Audience", - "label": "Audience (2): Test of 2nd 521 field.", - "type": "bf:Note" - }, - { - "noteType": "Coverage", - "label": "Coverage -- 522", - "type": "bf:Note" - }, - { - "noteType": "Cite As", - "label": "Cite as: The Mega-MARC test record. -- 524", - "type": "bf:Note" - }, - { - "noteType": "Supplement", - "label": "Supplement -- 525", - "type": "bf:Note" - }, - { - "noteType": "Study Program", - "label": "Study program -- 526 8b ", - "type": "bf:Note" - }, - { - "noteType": "Additional Formats", - "label": "Other test records available. -- 530", - "type": "bf:Note" - }, - { - "noteType": "Reproduction", - "label": "Microfilm.", - "type": "bf:Note" - }, - { - "noteType": "Original Location", - "label": "Original location in SASB -- 535", - "type": "bf:Note" - }, - { - "noteType": "Funding", - "label": "Funding -- 536", - "type": "bf:Note" - }, - { - "noteType": "System Details", - "label": "System Details -- 538", - "type": "bf:Note" - }, - { - "noteType": "Terms of Use", - "label": "Use as test record -- 540", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source display-- 5411b", - "type": "bf:Note" - }, - { - "noteType": "Source", - "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", - "type": "bf:Note" - }, - { - "noteType": "Location of Other Archival Materials", - "label": "Location of Other Archival Materials -- 544", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 545", - "type": "bf:Note" - }, - { - "noteType": "Biography", - "label": "Biography -- 5451 Administrative history", - "type": "bf:Note" - }, - { - "noteType": "Language", - "label": "In English and non-roman scripts. -- 546", - "type": "bf:Note" - }, - { - "noteType": "Former Title", - "label": "Former title (complexity note) -- 547", - "type": "bf:Note" - }, - { - "noteType": "Issued By", - "label": "Issued by CCO -- 550", - "type": "bf:Note" - }, - { - "noteType": "Indexes/Finding Aids", - "label": "Indexes -- 555 bb", - "type": "bf:Note" - }, - { - "noteType": "Documentation", - "label": "Documentation (information about, note) -- 556", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance display --5611b", - "type": "bf:Note" - }, - { - "noteType": "Provenance", - "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", - "type": "bf:Note" - }, - { - "noteType": "Copy/Version", - "label": "Copy/Version (identification note) -- 562", - "type": "bf:Note" - }, - { - "noteType": "Binding", - "label": "Binding -- 563", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Complemented by Linking entry: Bogus title -- 580", - "type": "bf:Note" - }, - { - "noteType": "Linking Entry", - "label": "Linking Entry (complexity note) -- 580", - "type": "bf:Note" - }, - { - "noteType": "Publications", - "label": "Publications (about described material note) -- 581", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action display --583 1b", - "type": "bf:Note" - }, - { - "noteType": "Processing Action", - "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", - "type": "bf:Note" - }, - { - "noteType": "Exhibitions", - "label": "Exhibitions -- 585", - "type": "bf:Note" - }, - { - "noteType": "Awards", - "label": "Awards -- 586", - "type": "bf:Note" - }, - { - "noteType": "Source of Description", - "label": "Latest issue consulted: 1900/1901. -- 588 1b", - "type": "bf:Note" - } - ], - "subjectLiteral_exploded": [ - "Starving artist", - "Starving artist -- 600 00", - "Artist, Starving, 1900-1999", - "Artist, Starving, 1900-1999 -- Autobiography.", - "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", - "testing 4 testing a testing b testing c testing d testing e testing g", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Corporate body subject.", - "Corporate body subject. -- 610 20", - "Secret Society of Catalogers", - "Secret Society of Catalogers -- Periodicals.", - "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", - "testing x as first subfield", - "testing x as first subfield -- testing v as second subfield.", - "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", - "Conference subject entry.", - "Conference subject entry. -- 611 20", - "Stonecutters' Annual Picnic 1995 : Springfield)", - "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", - "testing 4 testing a testing c testing d testing e testing g", - "testing 4 testing a testing c testing d testing e testing g -- testing v", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Uniform title", - "Life is a common square.", - "Life is a common square. -- Criticism.", - "Life is a common square. -- Criticism. -- 630 00 $l, $x", - "testing 4 testing a testing d testing e testing g", - "testing 4 testing a testing d testing e testing g -- testing v", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Textile industry testing datetesting", - "Textile industry testing datetesting -- 650 b0 $z, $x", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India", - "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", - "testing 4 testing a testing b testing c testing d testing e", - "testing 4 testing a testing b testing c testing d testing e -- testing v", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", - "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", - "New York (N.Y.)", - "New York (N.Y.) -- 21st century", - "New York (N.Y.) -- 21st century -- Diaries.", - "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", - "Undiscovered country.", - "Undiscovered country. -- 651 b0", - "testing 4 testing a testing e testing g", - "testing 4 testing a testing e testing g -- testing v", - "testing 4 testing a testing e testing g -- testing v -- testing x", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", - "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", - "Indexed term", - "Indexed term -- 653" - ], - "numItemDatesParsed": [ - 0 - ], - "description": [ - "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", - "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" - ], - "numItemsTotal": [ - 2 - ], - "dateEndString": [ - "2011" - ], - "title": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" - ], - "numItemVolumesParsed": [ - 1 - ], - "createdString": [ - "201" - ], - "creatorLiteral": [ - "Gloger, Miriam.", - "BookOps. Cataloging. --110 2b ab.", - "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" - ], - "numElectronicResources": [ - 4 - ], - "contributorLiteral": [ - "Cramer, Richard, 1948-.", - "Cramer, Richard, 1948-", - "Bayer, Jeffrey.", - "Bayer, Jeffrey", - "New York Public Library Database Management Group. -- 710 2b", - "Conference added author. 711 2b", - "Added entry (uncontrolled name) -- 7201", - "Cramer, Richard, 1948- fmo", - "Virtual collection -- 791 2b" - ], - "donor": [ - "Donor / Sponsor -- 799 bb" - ], - "uniformTitle": [ - "T tagged 240 Uniform title -- t240", - "Added title -- 730 0b", - "CMA Test Records -- 830 b0" - ], - "dateEndYear": [ - 2011 - ], - "parallelTitleAlt": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "зглавие руссий" - ], - "genreForm": [ - "Genre heading.", - "Blank pages and looks – Someplace – 1990.", - "testing a – testing b – testing c – testing v – testing x – testing y – testing z" - ], - "idIsbn": [ - "0123456789", - "9780123456786 (qualifier)", - "ISBN -- 020" - ], - "numCheckinCardItems": [ - 0 - ], - "materialType": [ - { - "id": "resourcetypes:txt", - "label": "Text" - } - ], - "carrierType": [ - { - "id": "carriertypes:nc", - "label": "volume" - } - ], - "dateString": [ - "201" - ], - "titleDisplay": [ - "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." - ], - "uri": "b22144813", - "electronicResources": [ - { - "label": "856 40", - "url": "http://blogs.nypl.org/rcramer/" - }, - { - "label": "Yizkor Book (NYPL resource) 856 41", - "url": "http://yizkor.nypl.org/index.php?id=2936" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" - } - ], - "parallelTitleDisplay": [ - "‏כותר שאינו באותיות לטינית = зглавие руссий." - ], - "placeOfPublication": [ - "[s.l.]", - "Long Island CIty, N.Y.", - "Production -- 264 b0 (RDA) ", - "Publisher -- 264 b1 (RDA)", - "Distributor -- 264 b2 (RDA)", - "Manufacturer -- 264 b3 (RDA)", - "Copyright Date -- 264 b4 (RDA)", - "Earlier Publisher -- 264 21 (RDA)", - "Earlier Distributor -- 264 22 (RDA)", - "Earlier Manufacturer -- 264 23 (RDA)", - "Earlier Copyright Date -- 264 24 (RDA)", - "Latest Publisher -- 264 31 (RDA)", - "Latest Distributor -- 264 32 (RDA)", - "Latest Manufacturer -- 264 33 (RDA)", - "Latest Copyright Date -- 264 34 (RDA)" - ], - "issuance": [ - { - "id": "urn:biblevel:m", - "label": "monograph/item" - } - ], - "supplementaryContent": [ - { - "label": "Contents", - "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" - }, - { - "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" - } - ], - "dimensions": [ - "26 cm +", - "26 cm. +", - "More 3rd instance -- 300 (3rd instance)" - ], - "idIsbn_clean": [ - "0123456789", - "9780123456786", - "020" - ] - }, - "sort": [ - 26.280298, - "b22144813" - ], - "inner_hits": { - "electronicResources": { - "hits": { - "total": { - "value": 0, - "relation": "eq" - }, - "max_score": null, - "hits": [] - } - }, - "items": { - "hits": { - "total": { - "value": 2, - "relation": "eq" - }, - "max_score": null, - "hits": [ - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 0 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:1", - "label": "Use in library" - } - ], - "accessMessage_packed": [ - "accessMessage:1||Use in library" - ], - "catalogItemType": [ - { - "id": "catalogItemType:2", - "label": "book non-circ" - } - ], - "catalogItemType_packed": [ - "catalogItemType:2||book non-circ" - ], - "enumerationChronology": [ - "v.1" - ], - "enumerationChronology_sort": [ - " 1-" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:mall1", - "label": "Schwarzman Building - Main Reading Room 315 - Reference" - } - ], - "holdingLocation_packed": [ - "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" - ], - "idBarcode": [ - "3333333333" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "urn:barcode:3333333333" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", - "type": "bf:ShelfMark" - }, - { - "value": "3333333333", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1101", - "label": "General Research Division" - } - ], - "owner_packed": [ - "orgs:1101||General Research Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - false - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", - "status": [ - { - "id": "status:k", - "label": "Check with staff" - } - ], - "status_packed": [ - "status:k||Check with staff" - ], - "type": [ - "bf:Item" - ], - "volumeRange": [ - { - "gte": 1, - "lte": 1 - } - ], - "uri": "i37857771" - }, - "sort": [ - " 1-" - ] - }, - { - "_index": "resources-2024-06-07", - "_id": "b22144813", - "_nested": { - "field": "items", - "offset": 1 - }, - "_score": null, - "_source": { - "accessMessage": [ - { - "id": "accessMessage:2", - "label": "Request in advance" - } - ], - "accessMessage_packed": [ - "accessMessage:2||Request in advance" - ], - "catalogItemType": [ - { - "id": "catalogItemType:3", - "label": "serial" - } - ], - "catalogItemType_packed": [ - "catalogItemType:3||serial" - ], - "enumerationChronology": [ - "nothing" - ], - "formatLiteral": [ - "Text" - ], - "holdingLocation": [ - { - "id": "loc:rcmf2", - "label": "Offsite" - } - ], - "holdingLocation_packed": [ - "loc:rcmf2||Offsite" - ], - "idBarcode": [ - "44455533322211" - ], - "identifier": [ - "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "urn:barcode:44455533322211" - ], - "identifierV2": [ - { - "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "type": "bf:ShelfMark" - }, - { - "value": "44455533322211", - "type": "bf:Barcode" - } - ], - "owner": [ - { - "id": "orgs:1103", - "label": "Dorot Jewish Division" - } - ], - "owner_packed": [ - "orgs:1103||Dorot Jewish Division" - ], - "physicalLocation": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" - ], - "requestable": [ - true - ], - "shelfMark": [ - "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" - ], - "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", - "status": [ - { - "id": "status:a", - "label": "Available" - } - ], - "status_packed": [ - "status:a||Available" - ], - "type": [ - "bf:Item" - ], - "uri": "i37857772" - }, - "sort": [ - null - ] - } - ] - } - } - } - } - ] - } - }, - "statusCode": 200 -} \ No newline at end of file diff --git a/test/fixtures/query-ec2a0c7d1307a088fc5ab05076da0bcd.json b/test/fixtures/query-ec2a0c7d1307a088fc5ab05076da0bcd.json new file mode 100644 index 00000000..37f862fa --- /dev/null +++ b/test/fixtures/query-ec2a0c7d1307a088fc5ab05076da0bcd.json @@ -0,0 +1,958 @@ +{ + "body": { + "took": 473, + "timed_out": false, + "_shards": { + "total": 3, + "successful": 3, + "failed": 0 + }, + "hits": { + "total": 1, + "max_score": null, + "hits": [ + { + "_index": "resources-2018-04-09", + "_type": "resource", + "_id": "b22144813", + "_score": 17.586823, + "_source": { + "extent": [ + "1234, [1] pages, x leaves : illustrations ;", + "1234, [1] p., x leaves : ill. ;", + "Third description instance : More 3rd instance ;" + ], + "partOf": [ + "In: -- 773 0b" + ], + "nyplSource": [ + "sierra-nypl" + ], + "serialPublicationDates": [ + "Publication Date (unformated) -- 362 1b" + ], + "publisherLiteral": [ + "Specious Publ. [prev.pub.-- 260.2b]", + "CopyCat pub. co. -- 260 bb" + ], + "language": [ + { + "id": "lang:eng", + "label": "English" + } + ], + "createdYear": [ + 201 + ], + "parallelTitle": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "type": [ + "nypl:Item" + ], + "shelfMark": [ + "Q-TAG (852 8b q tag. Staff call in bib.)" + ], + "idLccn": [ + "LCCN -- 010", + "9790001138673", + "ISMN", + "Danacode", + "UPC", + "EAN" + ], + "idIssn": [ + "ISSN -- 022" + ], + "seriesStatement": [ + "440 Series ; v. number -- 440 b0", + "490 Series ; v. number -- 490 0b", + "Author, of series. CMA Test Records. -- 800 1b", + "CMA (Cat). CMA Test Records -- 810 2b " + ], + "dateStartYear": [ + 201 + ], + "parallelCreatorLiteral": [ + "‏גלוגר,מרים פ." + ], + "identifierV2": [ + { + "type": "bf:ShelfMark", + "value": "Q-TAG (852 8b q tag. Staff call in bib.)" + }, + { + "type": "nypl:Bnumber", + "value": "22144813" + }, + { + "type": "bf:Isbn", + "value": "0123456789" + }, + { + "type": "bf:Isbn", + "value": "9780123456786 (qualifier)" + }, + { + "type": "bf:Isbn", + "value": "ISBN -- 020" + }, + { + "type": "bf:Isbn", + "identifierStatus": "canceled/invalid", + "value": "ISBN -- 020 $z" + }, + { + "type": "bf:Lccn", + "value": "LCCN -- 010" + }, + { + "type": "bf:Lccn", + "value": "9790001138673" + }, + { + "type": "bf:Lccn", + "value": "ISMN" + }, + { + "type": "bf:Lccn", + "value": "Danacode" + }, + { + "type": "bf:Lccn", + "value": "UPC" + }, + { + "type": "bf:Lccn", + "value": "EAN" + }, + { + "type": "bf:Issn", + "value": "ISSN -- 022" + }, + { + "type": "bf:Identifier", + "value": "Report number. -- 027" + }, + { + "type": "bf:Identifier", + "value": "Publisher no. -- 028 02 " + }, + { + "type": "bf:Identifier", + "value": "Standard number (old RLIN, etc.) -- 035" + }, + { + "type": "bf:Identifier", + "value": "Sudoc no. -- 086" + }, + { + "type": "bf:Identifier", + "value": "GPO Item number. -- 074" + } + ], + "formerTitle": [ + "Former title -- 247 00" + ], + "updatedAt": 1711656889146, + "publicationStatement": [ + "[s.l.] : Specious Publ. [prev.pub.-- 260.2b], 2001. ", + "Long Island CIty, N.Y. : CopyCat pub. co. -- 260 bb, 2011.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "identifier": [ + "urn:shelfmark:Q-TAG (852 8b q tag. Staff call in bib.)", + "urn:bnum:22144813", + "urn:isbn:0123456789", + "urn:isbn:9780123456786 (qualifier)", + "urn:isbn:ISBN -- 020", + "urn:isbn:ISBN -- 020 $z", + "urn:lccn:LCCN -- 010", + "urn:lccn:9790001138673", + "urn:lccn:ISMN", + "urn:lccn:Danacode", + "urn:lccn:UPC", + "urn:lccn:EAN", + "urn:issn:ISSN -- 022", + "urn:identifier:Report number. -- 027", + "urn:identifier:Publisher no. -- 028 02 ", + "urn:identifier:Standard number (old RLIN, etc.) -- 035", + "urn:identifier:Sudoc no. -- 086", + "urn:identifier:GPO Item number. -- 074" + ], + "mediaType": [ + { + "id": "mediatypes:n", + "label": "unmediated" + } + ], + "subjectLiteral": [ + "Starving artist -- 600 00.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term -- 653" + ], + "titleAlt": [ + "Abrev. title -- 210 ", + "Key title -- 222 ", + "T tagged 240 Uniform title -- t240", + "Portion of title \\\\DO NOT DISPLAY\\\\ -- 246 10", + "Parallel title \\\\DO NOT DISPLAY\\\\ -- 246 11", + "Portion of title 246 30", + "Parallel title 246 31", + "Distinctive title 246 12", + "Other title 246 13", + "Cover title 246 14", + "Cover title 246 04", + "Added title page title 246 15", + "Running title 246 17", + "Caption title 246 16", + "Spine title 246 18", + "No type of title specified 246 3 blank", + "246 1 blank", + "Zaglavie Russiĭi", + "Added title -- 740 0b" + ], + "tableOfContents": [ + "Complete table of contents. -- 505 0b", + "1. Incomplete table of contents. -- First instance.-- 505 1b", + "2. Incomplete table of contents -- Second instance. 505 1b", + "3. Incomplete table of contents -- Third instance entered out of order. 505 1b", + "Title subfield $t and author subfield $r and miscellaneous subfield $g in enahnced contents field 505 10." + ], + "note": [ + { + "noteType": "Note", + "label": "Ordinary note. -- 500", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "²³¹", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "¯¯¯\\⠀⠀⠀⠀⠀⠀⠀⠀/¯¯¯", + "type": "bf:Note" + }, + { + "noteType": "Note", + "label": "⠀⠀⠀\\___( ツ )___", + "type": "bf:Note" + }, + { + "noteType": "With", + "label": "Bound with note. -- 501", + "type": "bf:Note" + }, + { + "noteType": "Thesis", + "label": "Thesis -- (degree) note. -- 502", + "type": "bf:Note" + }, + { + "noteType": "Bibliography", + "label": "Includes bibliographical references (p. [1235]). -- 504", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Access -- 506 blank,any", + "type": "bf:Note" + }, + { + "noteType": "Access", + "label": "Restricted Access -- 506 1,any", + "type": "bf:Note" + }, + { + "noteType": "Scale", + "label": "Scale (graphic) -- 507", + "type": "bf:Note" + }, + { + "noteType": "Credits", + "label": "Credits (Creation/production credits note) -- 508", + "type": "bf:Note" + }, + { + "noteType": "Performer", + "label": "Cast --511 1b", + "type": "bf:Note" + }, + { + "noteType": "Type of Report", + "label": "Type of Report. -- 513", + "type": "bf:Note" + }, + { + "noteType": "Data Quality", + "label": "Data quality -- 514", + "type": "bf:Note" + }, + { + "noteType": "Numbering", + "label": "Completely irregular. -- 515", + "type": "bf:Note" + }, + { + "noteType": "File Type", + "label": "File type. -- 516", + "type": "bf:Note" + }, + { + "noteType": "Event", + "label": "Event. -- 518", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience: Rated for Catalogers and Metadata Junkies only -- 521", + "type": "bf:Note" + }, + { + "noteType": "Audience", + "label": "Audience (2): Test of 2nd 521 field.", + "type": "bf:Note" + }, + { + "noteType": "Coverage", + "label": "Coverage -- 522", + "type": "bf:Note" + }, + { + "noteType": "Cite As", + "label": "Cite as: The Mega-MARC test record. -- 524", + "type": "bf:Note" + }, + { + "noteType": "Supplement", + "label": "Supplement -- 525", + "type": "bf:Note" + }, + { + "noteType": "Study Program", + "label": "Study program -- 526 8b ", + "type": "bf:Note" + }, + { + "noteType": "Additional Formats", + "label": "Other test records available. -- 530", + "type": "bf:Note" + }, + { + "noteType": "Reproduction", + "label": "Microfilm.", + "type": "bf:Note" + }, + { + "noteType": "Original Location", + "label": "Original location in SASB -- 535", + "type": "bf:Note" + }, + { + "noteType": "Funding", + "label": "Funding -- 536", + "type": "bf:Note" + }, + { + "noteType": "System Details", + "label": "System Details -- 538", + "type": "bf:Note" + }, + { + "noteType": "Terms of Use", + "label": "Use as test record -- 540", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source display-- 5411b", + "type": "bf:Note" + }, + { + "noteType": "Source", + "label": "Source \\\\DO NOT DISPLAY\\\\ -- 541 bb $a", + "type": "bf:Note" + }, + { + "noteType": "Location of Other Archival Materials", + "label": "Location of Other Archival Materials -- 544", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 545", + "type": "bf:Note" + }, + { + "noteType": "Biography", + "label": "Biography -- 5451 Administrative history", + "type": "bf:Note" + }, + { + "noteType": "Language", + "label": "In English and non-roman scripts. -- 546", + "type": "bf:Note" + }, + { + "noteType": "Former Title", + "label": "Former title (complexity note) -- 547", + "type": "bf:Note" + }, + { + "noteType": "Issued By", + "label": "Issued by CCO -- 550", + "type": "bf:Note" + }, + { + "noteType": "Indexes/Finding Aids", + "label": "Indexes -- 555 bb", + "type": "bf:Note" + }, + { + "noteType": "Documentation", + "label": "Documentation (information about, note) -- 556", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance display --5611b", + "type": "bf:Note" + }, + { + "noteType": "Provenance", + "label": "Provenance \\\\DO NOT DISPLAY\\\\ -- 561 bb", + "type": "bf:Note" + }, + { + "noteType": "Copy/Version", + "label": "Copy/Version (identification note) -- 562", + "type": "bf:Note" + }, + { + "noteType": "Binding", + "label": "Binding -- 563", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Complemented by Linking entry: Bogus title -- 580", + "type": "bf:Note" + }, + { + "noteType": "Linking Entry", + "label": "Linking Entry (complexity note) -- 580", + "type": "bf:Note" + }, + { + "noteType": "Publications", + "label": "Publications (about described material note) -- 581", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action display --583 1b", + "type": "bf:Note" + }, + { + "noteType": "Processing Action", + "label": "Processing Action \\\\DO NOT DISPLAY\\\\ -- 583 bb", + "type": "bf:Note" + }, + { + "noteType": "Exhibitions", + "label": "Exhibitions -- 585", + "type": "bf:Note" + }, + { + "noteType": "Awards", + "label": "Awards -- 586", + "type": "bf:Note" + }, + { + "noteType": "Source of Description", + "label": "Latest issue consulted: 1900/1901. -- 588 1b", + "type": "bf:Note" + } + ], + "subjectLiteral_exploded": [ + "Starving artist", + "Starving artist -- 600 00", + "Artist, Starving, 1900-1999", + "Artist, Starving, 1900-1999 -- Autobiography.", + "Artist, Starving, 1900-1999 -- Autobiography. -- 600 10 with $d $v", + "testing 4 testing a testing b testing c testing d testing e testing g", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Corporate body subject.", + "Corporate body subject. -- 610 20", + "Secret Society of Catalogers", + "Secret Society of Catalogers -- Periodicals.", + "Secret Society of Catalogers -- Periodicals. -- 610 20 $v", + "testing x as first subfield", + "testing x as first subfield -- testing v as second subfield.", + "testing x as first subfield -- testing v as second subfield. -- 610 10 $x$v only", + "Conference subject entry.", + "Conference subject entry. -- 611 20", + "Stonecutters' Annual Picnic 1995 : Springfield)", + "Stonecutters' Annual Picnic 1995 : Springfield) -- 611 20 $n, $d, $c", + "testing 4 testing a testing c testing d testing e testing g", + "testing 4 testing a testing c testing d testing e testing g -- testing v", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing c testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Uniform title", + "Life is a common square.", + "Life is a common square. -- Criticism.", + "Life is a common square. -- Criticism. -- 630 00 $l, $x", + "testing 4 testing a testing d testing e testing g", + "testing 4 testing a testing d testing e testing g -- testing v", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing d testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Textile industry testing datetesting", + "Textile industry testing datetesting -- 650 b0 $z, $x", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India", + "Textile industry testing datetesting -- 650 b0 $z, $x -- India -- History", + "testing 4 testing a testing b testing c testing d testing e", + "testing 4 testing a testing b testing c testing d testing e -- testing v", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y", + "testing 4 testing a testing b testing c testing d testing e -- testing v -- testing x -- testing y -- testing z", + "New York (N.Y.)", + "New York (N.Y.) -- 21st century", + "New York (N.Y.) -- 21st century -- Diaries.", + "New York (N.Y.) -- 21st century -- Diaries. -- 651 b0 $y, $x", + "Undiscovered country.", + "Undiscovered country. -- 651 b0", + "testing 4 testing a testing e testing g", + "testing 4 testing a testing e testing g -- testing v", + "testing 4 testing a testing e testing g -- testing v -- testing x", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y", + "testing 4 testing a testing e testing g -- testing v -- testing x -- testing y -- testing z", + "Indexed term", + "Indexed term -- 653" + ], + "numItemDatesParsed": [ + 0 + ], + "description": [ + "This record was originally created as a test record in CATNYP. It was greatly expanded in ILS-STAFF to test the public display of various MARC fields. -- 520 (first)", + "Use this record to test CATALOG, OPAC, ENCORE, and BIBLIOCOMMONS display of MARC fields -- 520 (second)" + ], + "numItemsTotal": [ + 2 + ], + "dateEndString": [ + "2011" + ], + "title": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Maintenance test record-- 245 $b" + ], + "numItemVolumesParsed": [ + 1 + ], + "createdString": [ + "201" + ], + "creatorLiteral": [ + "Gloger, Miriam.", + "BookOps. Cataloging. --110 2b ab.", + "Congress (13th : 2013 : LIC, Queens) -- 111 2b (ndc)" + ], + "numElectronicResources": [ + 4 + ], + "contributorLiteral": [ + "Cramer, Richard, 1948-.", + "Cramer, Richard, 1948-", + "Bayer, Jeffrey.", + "Bayer, Jeffrey", + "New York Public Library Database Management Group. -- 710 2b", + "Conference added author. 711 2b", + "Added entry (uncontrolled name) -- 7201", + "Cramer, Richard, 1948- fmo", + "Virtual collection -- 791 2b" + ], + "donor": [ + "Donor / Sponsor -- 799 bb" + ], + "uniformTitle": [ + "T tagged 240 Uniform title -- t240", + "Added title -- 730 0b", + "CMA Test Records -- 830 b0" + ], + "dateEndYear": [ + 2011 + ], + "parallelTitleAlt": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "зглавие руссий" + ], + "genreForm": [ + "Genre heading.", + "Blank pages and looks – Someplace – 1990.", + "testing a – testing b – testing c – testing v – testing x – testing y – testing z" + ], + "idIsbn": [ + "0123456789", + "9780123456786 (qualifier)", + "ISBN -- 020" + ], + "numCheckinCardItems": [ + 0 + ], + "materialType": [ + { + "id": "resourcetypes:txt", + "label": "Text" + } + ], + "carrierType": [ + { + "id": "carriertypes:nc", + "label": "volume" + } + ], + "dateString": [ + "201" + ], + "titleDisplay": [ + "Life is a strange circle (updated 20180627) --245 10 $a, Test record --$k current April 19, 2013 --$f, Testing period --$g [Virtual-- 245 $h] (245-- $n) Titles, includes RDA specific fields -- 245 $p : Maintenance test record-- 245 $b, Version--$s / CMA division -- 245 $c." + ], + "uri": "b22144813", + "electronicResources": [ + { + "label": "856 40", + "url": "http://blogs.nypl.org/rcramer/" + }, + { + "label": "Yizkor Book (NYPL resource) 856 41", + "url": "http://yizkor.nypl.org/index.php?id=2936" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-40-fulltext.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-41-fulltext.com/" + } + ], + "parallelTitleDisplay": [ + "‏כותר שאינו באותיות לטינית = зглавие руссий." + ], + "placeOfPublication": [ + "[s.l.]", + "Long Island CIty, N.Y.", + "Production -- 264 b0 (RDA) ", + "Publisher -- 264 b1 (RDA)", + "Distributor -- 264 b2 (RDA)", + "Manufacturer -- 264 b3 (RDA)", + "Copyright Date -- 264 b4 (RDA)", + "Earlier Publisher -- 264 21 (RDA)", + "Earlier Distributor -- 264 22 (RDA)", + "Earlier Manufacturer -- 264 23 (RDA)", + "Earlier Copyright Date -- 264 24 (RDA)", + "Latest Publisher -- 264 31 (RDA)", + "Latest Distributor -- 264 32 (RDA)", + "Latest Manufacturer -- 264 33 (RDA)", + "Latest Copyright Date -- 264 34 (RDA)" + ], + "issuance": [ + { + "id": "urn:biblevel:m", + "label": "monograph/item" + } + ], + "supplementaryContent": [ + { + "label": "Contents", + "url": "http://www.ilibri.casalini.it/toc/07260245.pdf" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-42-supplementary.com/" + }, + { + "url": "http://www.ThereIsNoLabelSubfieldInThis856-4b-supplementary.com/" + } + ], + "dimensions": [ + "26 cm +", + "26 cm. +", + "More 3rd instance -- 300 (3rd instance)" + ], + "idIsbn_clean": [ + "0123456789", + "9780123456786", + "020" + ] + }, + "sort": [ + 17.586823, + "b22144813" + ], + "inner_hits": { + "electronicResources": { + "hits": { + "total": 0, + "max_score": null, + "hits": [] + } + }, + "items": { + "hits": { + "total": 2, + "max_score": null, + "hits": [ + { + "_nested": { + "field": "items", + "offset": 0 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:1", + "label": "Use in library" + } + ], + "accessMessage_packed": [ + "accessMessage:1||Use in library" + ], + "catalogItemType": [ + { + "id": "catalogItemType:2", + "label": "book non-circ" + } + ], + "catalogItemType_packed": [ + "catalogItemType:2||book non-circ" + ], + "enumerationChronology": [ + "v.1" + ], + "enumerationChronology_sort": [ + " 1-" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:mall1", + "label": "Schwarzman Building - Main Reading Room 315 - Reference" + } + ], + "holdingLocation_packed": [ + "loc:mall1||Schwarzman Building - Main Reading Room 315 - Reference" + ], + "idBarcode": [ + "3333333333" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "urn:barcode:3333333333" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1", + "type": "bf:ShelfMark" + }, + { + "value": "3333333333", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1101", + "label": "General Research Division" + } + ], + "owner_packed": [ + "orgs:1101||General Research Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + false + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.1" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER v.000001", + "status": [ + { + "id": "status:k", + "label": "Check with staff" + } + ], + "status_packed": [ + "status:k||Check with staff" + ], + "type": [ + "bf:Item" + ], + "volumeRange": [ + { + "gte": 1, + "lte": 1 + } + ], + "uri": "i37857771" + }, + "sort": [ + " 1-" + ] + }, + { + "_nested": { + "field": "items", + "offset": 1 + }, + "_score": null, + "_source": { + "accessMessage": [ + { + "id": "accessMessage:2", + "label": "Request in advance" + } + ], + "accessMessage_packed": [ + "accessMessage:2||Request in advance" + ], + "catalogItemType": [ + { + "id": "catalogItemType:3", + "label": "serial" + } + ], + "catalogItemType_packed": [ + "catalogItemType:3||serial" + ], + "enumerationChronology": [ + "nothing" + ], + "formatLiteral": [ + "Text" + ], + "holdingLocation": [ + { + "id": "loc:rcmf2", + "label": "Offsite" + } + ], + "holdingLocation_packed": [ + "loc:rcmf2||Offsite" + ], + "idBarcode": [ + "44455533322211" + ], + "identifier": [ + "urn:shelfmark:J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "urn:barcode:44455533322211" + ], + "identifierV2": [ + { + "value": "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "type": "bf:ShelfMark" + }, + { + "value": "44455533322211", + "type": "bf:Barcode" + } + ], + "owner": [ + { + "id": "orgs:1103", + "label": "Dorot Jewish Division" + } + ], + "owner_packed": [ + "orgs:1103||Dorot Jewish Division" + ], + "physicalLocation": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER" + ], + "requestable": [ + true + ], + "shelfMark": [ + "J-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing" + ], + "shelfMark_sort": "aJ-LANG FORMAT Branch -- 091 (C-Tag Branch call) Biographee CUTTER nothing", + "status": [ + { + "id": "status:a", + "label": "Available" + } + ], + "status_packed": [ + "status:a||Available" + ], + "type": [ + "bf:Item" + ], + "uri": "i37857772" + }, + "sort": [ + null + ] + } + ] + } + } + } + } + ] + } + }, + "statusCode": 200 +} \ No newline at end of file diff --git a/test/fixtures/scsb-by-barcode-c4ad1e16616ee03988ecd2a3977cddcf.json b/test/fixtures/scsb-by-barcode-55f00e8cc159bdb82a9d767ee859bb27.json similarity index 92% rename from test/fixtures/scsb-by-barcode-c4ad1e16616ee03988ecd2a3977cddcf.json rename to test/fixtures/scsb-by-barcode-55f00e8cc159bdb82a9d767ee859bb27.json index 9a66c523..843acad7 100644 --- a/test/fixtures/scsb-by-barcode-c4ad1e16616ee03988ecd2a3977cddcf.json +++ b/test/fixtures/scsb-by-barcode-55f00e8cc159bdb82a9d767ee859bb27.json @@ -1,7 +1,7 @@ [ { "itemBarcode": "33433076530082", - "itemAvailabilityStatus": "Item Barcode doesn't exist in SCSB database.", + "itemAvailabilityStatus": "Available", "errorMessage": null }, { @@ -15,32 +15,32 @@ "errorMessage": null }, { - "itemBarcode": "33433099607917", + "itemBarcode": "33433115147914", "itemAvailabilityStatus": "Available", "errorMessage": null }, { - "itemBarcode": "33433099608063", + "itemBarcode": "33433105255586", "itemAvailabilityStatus": "Available", "errorMessage": null }, { - "itemBarcode": "33433099608188", + "itemBarcode": "33433074083142", "itemAvailabilityStatus": "Available", "errorMessage": null }, { - "itemBarcode": "33433115147914", + "itemBarcode": "33433099607917", "itemAvailabilityStatus": "Available", "errorMessage": null }, { - "itemBarcode": "33433105255586", + "itemBarcode": "33433099608063", "itemAvailabilityStatus": "Available", "errorMessage": null }, { - "itemBarcode": "33433074083142", + "itemBarcode": "33433099608188", "itemAvailabilityStatus": "Available", "errorMessage": null }