From cc62fe154edadd4bbf1c99356f53abab4592a180 Mon Sep 17 00:00:00 2001 From: Paul Beaudoin Date: Wed, 5 Jun 2024 17:13:04 -0400 Subject: [PATCH] Update fixtures --- ...ery-05a6b5b11caf9c01eaf5d2d5c9266525.json} | 10 +- ...uery-251d632d54fbae1c86643d19646c646e.json | 967 ++++++++++++++++++ ...ery-2de5594b7b7f3c3f055d47b83c9757a0.json} | 12 +- ...ery-388871dc3005b7a96aeeacc6425bcf98.json} | 2 +- ...ery-3a174dc16123282ecd84168f149e0019.json} | 598 +++++------ ...ery-3e7555bb3fb488143b897757662f6e38.json} | 6 +- ...uery-45690e6a0a817fda938f02346329b4e7.json | 967 ------------------ ...ery-5b93d8ec9fb36398ac17f392ee050d3a.json} | 12 +- ...uery-675cfcd31b1f509a131926e50a81b84d.json | 967 ++++++++++++++++++ ...ery-6c4366213fc6fd37c13ce162e2f69b97.json} | 10 +- ...ery-7347d3204b0b6c54bdff52464678c24f.json} | 12 +- ...uery-8732f68ab2db69988edeaf44cbe0b5fa.json | 967 ++++++++++++++++++ ...uery-92049dc507bb8c6e036e00abea11cddc.json | 967 ------------------ ...uery-92a1488b12efa46989e7afa97b60f3ee.json | 967 ------------------ ...uery-9328c6cd68cae24988a62268e1ec9b13.json | 967 ------------------ ...uery-a0f0c412e62edea7caa59d9832727de0.json | 967 ++++++++++++++++++ ...uery-a408de86d093552e974a71d485b7b647.json | 967 ++++++++++++++++++ ...ery-a861216892bffda345dd425c3fe21b37.json} | 6 +- ...ery-af79da162c54e997bd146d4fb7d4851d.json} | 10 +- ...uery-b1fe7495ddddaacedf9c40ab9275efd6.json | 967 ++++++++++++++++++ ...uery-b4550b41de2cb2a50f540d145040cbd1.json | 967 ------------------ ...uery-baaca4d165decc41b4cdc8697362e40e.json | 967 ++++++++++++++++++ ...ery-c6fecd31be63b8f3daca8063933fc701.json} | 12 +- ...uery-c89de83a7be530e1f33bc986745afd59.json | 967 ------------------ ...uery-d15ae8a2c5fb86a3d9f852af3720b112.json | 967 ++++++++++++++++++ ...uery-e76b15271ee4a6f5cb43a5d920683bfd.json | 967 ------------------ ...ery-ea7a9eae1f9f4f99fcbeda1dbac0695a.json} | 10 +- ...uery-f3d12ab70f265db053dff0c6b6c7a1fa.json | 967 ------------------ ...ode-c4ad1e16616ee03988ecd2a3977cddcf.json} | 12 +- 29 files changed, 8092 insertions(+), 8092 deletions(-) rename test/fixtures/{query-fbc23332a03e8b677b9d8e32c91a5b84.json => query-05a6b5b11caf9c01eaf5d2d5c9266525.json} (99%) create mode 100644 test/fixtures/query-251d632d54fbae1c86643d19646c646e.json rename test/fixtures/{query-12d9f2de129e36791ecfaa418d2bf64b.json => query-2de5594b7b7f3c3f055d47b83c9757a0.json} (99%) rename test/fixtures/{query-64cd2215beee43a6aa4e0c9a0f2f87d1.json => query-388871dc3005b7a96aeeacc6425bcf98.json} (94%) rename test/fixtures/{query-2f866004a1e095968e344265e3578ef8.json => query-3a174dc16123282ecd84168f149e0019.json} (98%) rename test/fixtures/{query-55f4496029b547de023b4bc071afe217.json => query-3e7555bb3fb488143b897757662f6e38.json} (98%) delete mode 100644 test/fixtures/query-45690e6a0a817fda938f02346329b4e7.json rename test/fixtures/{query-288798cd9120cf212cc4719d8c0d6681.json => query-5b93d8ec9fb36398ac17f392ee050d3a.json} (99%) create mode 100644 test/fixtures/query-675cfcd31b1f509a131926e50a81b84d.json rename test/fixtures/{query-163fd68fd31f9d109c79422c590d5da1.json => query-6c4366213fc6fd37c13ce162e2f69b97.json} (97%) rename test/fixtures/{query-1ce7b1bc5f8837d84ea06d657f53fc41.json => query-7347d3204b0b6c54bdff52464678c24f.json} (99%) create mode 100644 test/fixtures/query-8732f68ab2db69988edeaf44cbe0b5fa.json delete mode 100644 test/fixtures/query-92049dc507bb8c6e036e00abea11cddc.json delete mode 100644 test/fixtures/query-92a1488b12efa46989e7afa97b60f3ee.json delete mode 100644 test/fixtures/query-9328c6cd68cae24988a62268e1ec9b13.json create mode 100644 test/fixtures/query-a0f0c412e62edea7caa59d9832727de0.json create mode 100644 test/fixtures/query-a408de86d093552e974a71d485b7b647.json rename test/fixtures/{query-62753868fbdc3cde33d50510e843e8dc.json => query-a861216892bffda345dd425c3fe21b37.json} (98%) rename test/fixtures/{query-b05d5961849c75fafce68c2f1522f387.json => query-af79da162c54e997bd146d4fb7d4851d.json} (97%) create mode 100644 test/fixtures/query-b1fe7495ddddaacedf9c40ab9275efd6.json delete mode 100644 test/fixtures/query-b4550b41de2cb2a50f540d145040cbd1.json create mode 100644 test/fixtures/query-baaca4d165decc41b4cdc8697362e40e.json rename test/fixtures/{query-19479abf88e1ce95d9ea9d54dc084757.json => query-c6fecd31be63b8f3daca8063933fc701.json} (99%) delete mode 100644 test/fixtures/query-c89de83a7be530e1f33bc986745afd59.json create mode 100644 test/fixtures/query-d15ae8a2c5fb86a3d9f852af3720b112.json delete mode 100644 test/fixtures/query-e76b15271ee4a6f5cb43a5d920683bfd.json rename test/fixtures/{query-a8ea90e7edb47ac1c55577e39080fc76.json => query-ea7a9eae1f9f4f99fcbeda1dbac0695a.json} (98%) delete mode 100644 test/fixtures/query-f3d12ab70f265db053dff0c6b6c7a1fa.json rename test/fixtures/{scsb-by-barcode-55f00e8cc159bdb82a9d767ee859bb27.json => scsb-by-barcode-c4ad1e16616ee03988ecd2a3977cddcf.json} (100%) diff --git a/test/fixtures/query-fbc23332a03e8b677b9d8e32c91a5b84.json b/test/fixtures/query-05a6b5b11caf9c01eaf5d2d5c9266525.json similarity index 99% rename from test/fixtures/query-fbc23332a03e8b677b9d8e32c91a5b84.json rename to test/fixtures/query-05a6b5b11caf9c01eaf5d2d5c9266525.json index ec8f0e1a..76a65c6d 100644 --- a/test/fixtures/query-fbc23332a03e8b677b9d8e32c91a5b84.json +++ b/test/fixtures/query-05a6b5b11caf9c01eaf5d2d5c9266525.json @@ -13,12 +13,12 @@ "value": 1, "relation": "eq" }, - "max_score": 25.325544, + "max_score": 27.325544, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b22144813", - "_score": 25.325544, + "_score": 27.325544, "_source": { "extent": [ "1234, [1] pages, x leaves : illustrations ;", @@ -755,7 +755,7 @@ "max_score": null, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b22144813", "_nested": { "field": "items", @@ -860,7 +860,7 @@ ] }, { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b22144813", "_nested": { "field": "items", diff --git a/test/fixtures/query-251d632d54fbae1c86643d19646c646e.json b/test/fixtures/query-251d632d54fbae1c86643d19646c646e.json new file mode 100644 index 00000000..33441796 --- /dev/null +++ b/test/fixtures/query-251d632d54fbae1c86643d19646c646e.json @@ -0,0 +1,967 @@ +{ + "body": { + "took": 150, + "timed_out": false, + "_shards": { + "total": 1, + "successful": 1, + "skipped": 0, + "failed": 0 + }, + "hits": { + "total": { + "value": 1, + "relation": "eq" + }, + "max_score": 58.755146, + "hits": [ + { + "_index": "resources-2024-05-31", + "_id": "b22144813", + "_score": 58.755146, + "_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" + ] + }, + "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-05-31", + "_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-05-31", + "_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-12d9f2de129e36791ecfaa418d2bf64b.json b/test/fixtures/query-2de5594b7b7f3c3f055d47b83c9757a0.json similarity index 99% rename from test/fixtures/query-12d9f2de129e36791ecfaa418d2bf64b.json rename to test/fixtures/query-2de5594b7b7f3c3f055d47b83c9757a0.json index 4d2f8876..caa2e51a 100644 --- a/test/fixtures/query-12d9f2de129e36791ecfaa418d2bf64b.json +++ b/test/fixtures/query-2de5594b7b7f3c3f055d47b83c9757a0.json @@ -1,6 +1,6 @@ { "body": { - "took": 72, + "took": 95, "timed_out": false, "_shards": { "total": 1, @@ -13,12 +13,12 @@ "value": 1, "relation": "eq" }, - "max_score": 25.325544, + "max_score": 27.325544, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b22144813", - "_score": 25.325544, + "_score": 27.325544, "_source": { "extent": [ "1234, [1] pages, x leaves : illustrations ;", @@ -755,7 +755,7 @@ "max_score": null, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b22144813", "_nested": { "field": "items", @@ -860,7 +860,7 @@ ] }, { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b22144813", "_nested": { "field": "items", diff --git a/test/fixtures/query-64cd2215beee43a6aa4e0c9a0f2f87d1.json b/test/fixtures/query-388871dc3005b7a96aeeacc6425bcf98.json similarity index 94% rename from test/fixtures/query-64cd2215beee43a6aa4e0c9a0f2f87d1.json rename to test/fixtures/query-388871dc3005b7a96aeeacc6425bcf98.json index 7440d633..4723c7aa 100644 --- a/test/fixtures/query-64cd2215beee43a6aa4e0c9a0f2f87d1.json +++ b/test/fixtures/query-388871dc3005b7a96aeeacc6425bcf98.json @@ -1,6 +1,6 @@ { "body": { - "took": 519, + "took": 603, "timed_out": false, "_shards": { "total": 1, diff --git a/test/fixtures/query-2f866004a1e095968e344265e3578ef8.json b/test/fixtures/query-3a174dc16123282ecd84168f149e0019.json similarity index 98% rename from test/fixtures/query-2f866004a1e095968e344265e3578ef8.json rename to test/fixtures/query-3a174dc16123282ecd84168f149e0019.json index ea70c9b4..e597d150 100644 --- a/test/fixtures/query-2f866004a1e095968e344265e3578ef8.json +++ b/test/fixtures/query-3a174dc16123282ecd84168f149e0019.json @@ -1,6 +1,6 @@ { "body": { - "took": 116, + "took": 113, "timed_out": false, "_shards": { "total": 1, @@ -13,12 +13,12 @@ "value": 5, "relation": "eq" }, - "max_score": 69.03697, + "max_score": 71.03697, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b11826883", - "_score": 69.03697, + "_score": 71.03697, "_source": { "extent": [ "v. : ill. ;" @@ -551,7 +551,7 @@ "max_score": null, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b11826883", "_nested": { "field": "items", @@ -665,7 +665,7 @@ ] }, { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b11826883", "_nested": { "field": "items", @@ -744,7 +744,7 @@ ] }, { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b11826883", "_nested": { "field": "items", @@ -863,9 +863,9 @@ } }, { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b21506221", - "_score": 16.792456, + "_score": 18.792456, "_source": { "extent": [ "v. : ill. ;" @@ -1055,7 +1055,7 @@ "max_score": null, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b21506221", "_nested": { "field": "items", @@ -1156,17 +1156,22 @@ } }, { - "_index": "resources-2024-05-29", - "_id": "b16775643", - "_score": 16.792456, + "_index": "resources-2024-05-31", + "_id": "b11560439", + "_score": 17.704178, "_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" } ], @@ -1174,141 +1179,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" + "2008" ], "title": [ - "Visual arts research." + "Bulletin van het Rijksmuseum." ], "type": [ "nypl:Item" ], "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 + ], + "donor": [ + "Gift of the DeWitt Wallace Endowment Fund, named in honor of the founder of Reader's Digest" ], "idOclc": [ - "9069635" + "4272788" ], "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 - ], - "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" - } + 2008 ], - "updatedAt": 1711226746443, + "updatedAt": 1713883991037, "publicationStatement": [ - "[Champaign, Ill.] : University of Illinois Press, c1982-" + "Amsterdam : Rijks-Museum, -©2008." + ], + "genreForm": [ + "Catalogs.", + "Periodicals.", + "Art." ], "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" ], "numCheckinCardItems": [ 0 @@ -1326,7 +1317,7 @@ } ], "dateString": [ - "1982" + "1953" ], "mediaType": [ { @@ -1335,17 +1326,30 @@ } ], "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" ], "issuance": [ { @@ -1354,11 +1358,11 @@ } ], "titleAlt": [ - "Vis. arts res.", - "Visual arts research" + "Bull. Rÿksmus.", + "Bulletin van het Rÿksmuseum" ], "dimensions": [ - "23 cm." + "24 cm" ] }, "inner_hits": { @@ -1375,14 +1379,14 @@ "items": { "hits": { "total": { - "value": 10, + "value": 28, "relation": "eq" }, "max_score": null, "hits": [ { - "_index": "resources-2024-05-29", - "_id": "b16775643", + "_index": "resources-2024-05-31", + "_id": "b11560439", "_nested": { "field": "items", "offset": 0 @@ -1409,15 +1413,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" @@ -1432,19 +1436,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" } ], @@ -1458,7 +1462,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" @@ -1467,9 +1471,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", @@ -1484,19 +1488,19 @@ ], "volumeRange": [ { - "gte": 38, - "lte": 38 + "gte": 56, + "lte": 56 } ], - "uri": "i29405160" + "uri": "i28757051" }, "sort": [ - " 38-2012" + " 56-2008" ] }, { - "_index": "resources-2024-05-29", - "_id": "b16775643", + "_index": "resources-2024-05-31", + "_id": "b11560439", "_nested": { "field": "items", "offset": 1 @@ -1523,15 +1527,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" @@ -1546,19 +1550,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" } ], @@ -1572,7 +1576,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" @@ -1581,9 +1585,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", @@ -1598,22 +1602,22 @@ ], "volumeRange": [ { - "gte": 15, - "lte": 16 + "gte": 55, + "lte": 55 } ], - "uri": "i29627807" + "uri": "i28756751" }, "sort": [ - " 15-1989" + " 55-2007" ] }, { - "_index": "resources-2024-05-29", - "_id": "b16775643", + "_index": "resources-2024-05-31", + "_id": "b11560439", "_nested": { "field": "items", - "offset": 3 + "offset": 2 }, "_score": null, "_source": { @@ -1637,15 +1641,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" @@ -1660,19 +1664,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" } ], @@ -1686,7 +1690,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" @@ -1695,9 +1699,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", @@ -1710,10 +1714,16 @@ "type": [ "bf:Item" ], - "uri": "i17662016" + "volumeRange": [ + { + "gte": 54, + "lte": 54 + } + ], + "uri": "i28756731" }, "sort": [ - " -2000" + " 54-2006" ] } ] @@ -1722,22 +1732,17 @@ } }, { - "_index": "resources-2024-05-29", - "_id": "b11560439", - "_score": 15.704178, + "_index": "resources-2024-05-31", + "_id": "b16775643", + "_score": 16.792456, "_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" } ], @@ -1745,127 +1750,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 @@ -1883,7 +1902,7 @@ } ], "dateString": [ - "1953" + "1982" ], "mediaType": [ { @@ -1892,30 +1911,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": [ { @@ -1924,11 +1930,11 @@ } ], "titleAlt": [ - "Bull. Rÿksmus.", - "Bulletin van het Rÿksmuseum" + "Vis. arts res.", + "Visual arts research" ], "dimensions": [ - "24 cm" + "23 cm." ] }, "inner_hits": { @@ -1945,14 +1951,14 @@ "items": { "hits": { "total": { - "value": 28, + "value": 10, "relation": "eq" }, "max_score": null, "hits": [ { - "_index": "resources-2024-05-29", - "_id": "b11560439", + "_index": "resources-2024-05-31", + "_id": "b16775643", "_nested": { "field": "items", "offset": 0 @@ -1979,15 +1985,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" @@ -2002,19 +2008,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" } ], @@ -2028,7 +2034,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" @@ -2037,9 +2043,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", @@ -2054,19 +2060,19 @@ ], "volumeRange": [ { - "gte": 56, - "lte": 56 + "gte": 38, + "lte": 38 } ], - "uri": "i28757051" + "uri": "i29405160" }, "sort": [ - " 56-2008" + " 38-2012" ] }, { - "_index": "resources-2024-05-29", - "_id": "b11560439", + "_index": "resources-2024-05-31", + "_id": "b16775643", "_nested": { "field": "items", "offset": 1 @@ -2093,15 +2099,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" @@ -2116,19 +2122,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" } ], @@ -2142,7 +2148,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" @@ -2151,9 +2157,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", @@ -2168,22 +2174,22 @@ ], "volumeRange": [ { - "gte": 55, - "lte": 55 + "gte": 15, + "lte": 16 } ], - "uri": "i28756751" + "uri": "i29627807" }, "sort": [ - " 55-2007" + " 15-1989" ] }, { - "_index": "resources-2024-05-29", - "_id": "b11560439", + "_index": "resources-2024-05-31", + "_id": "b16775643", "_nested": { "field": "items", - "offset": 2 + "offset": 3 }, "_score": null, "_source": { @@ -2207,15 +2213,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" @@ -2230,19 +2236,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" } ], @@ -2256,7 +2262,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" @@ -2265,9 +2271,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", @@ -2280,16 +2286,10 @@ "type": [ "bf:Item" ], - "volumeRange": [ - { - "gte": 54, - "lte": 54 - } - ], - "uri": "i28756731" + "uri": "i17662016" }, "sort": [ - " 54-2006" + " -2000" ] } ] @@ -2298,9 +2298,9 @@ } }, { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b12525718", - "_score": 14.753523, + "_score": 16.753523, "_source": { "extent": [ "v. : ill. ;" @@ -2782,7 +2782,7 @@ "max_score": null, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b12525718", "_nested": { "field": "items", @@ -2861,7 +2861,7 @@ ] }, { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b12525718", "_nested": { "field": "items", @@ -2940,7 +2940,7 @@ ] }, { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b12525718", "_nested": { "field": "items", diff --git a/test/fixtures/query-55f4496029b547de023b4bc071afe217.json b/test/fixtures/query-3e7555bb3fb488143b897757662f6e38.json similarity index 98% rename from test/fixtures/query-55f4496029b547de023b4bc071afe217.json rename to test/fixtures/query-3e7555bb3fb488143b897757662f6e38.json index 89bac51f..4163854c 100644 --- a/test/fixtures/query-55f4496029b547de023b4bc071afe217.json +++ b/test/fixtures/query-3e7555bb3fb488143b897757662f6e38.json @@ -1,6 +1,6 @@ { "body": { - "took": 80, + "took": 27, "timed_out": false, "_shards": { "total": 1, @@ -16,7 +16,7 @@ "max_score": 130.26839, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b13627363", "_score": 130.26839, "_source": { @@ -182,7 +182,7 @@ "max_score": null, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b13627363", "_nested": { "field": "items", diff --git a/test/fixtures/query-45690e6a0a817fda938f02346329b4e7.json b/test/fixtures/query-45690e6a0a817fda938f02346329b4e7.json deleted file mode 100644 index 489135c3..00000000 --- a/test/fixtures/query-45690e6a0a817fda938f02346329b4e7.json +++ /dev/null @@ -1,967 +0,0 @@ -{ - "body": { - "took": 103, - "timed_out": false, - "_shards": { - "total": 1, - "successful": 1, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": 25.325544, - "hits": [ - { - "_index": "resources-2024-05-29", - "_id": "b22144813", - "_score": 25.325544, - "_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" - ] - }, - "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-05-29", - "_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-05-29", - "_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-288798cd9120cf212cc4719d8c0d6681.json b/test/fixtures/query-5b93d8ec9fb36398ac17f392ee050d3a.json similarity index 99% rename from test/fixtures/query-288798cd9120cf212cc4719d8c0d6681.json rename to test/fixtures/query-5b93d8ec9fb36398ac17f392ee050d3a.json index c6ccbbe6..07fe990b 100644 --- a/test/fixtures/query-288798cd9120cf212cc4719d8c0d6681.json +++ b/test/fixtures/query-5b93d8ec9fb36398ac17f392ee050d3a.json @@ -1,6 +1,6 @@ { "body": { - "took": 96, + "took": 84, "timed_out": false, "_shards": { "total": 1, @@ -13,12 +13,12 @@ "value": 1, "relation": "eq" }, - "max_score": 25.325544, + "max_score": 27.325544, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b22144813", - "_score": 25.325544, + "_score": 27.325544, "_source": { "extent": [ "1234, [1] pages, x leaves : illustrations ;", @@ -755,7 +755,7 @@ "max_score": null, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b22144813", "_nested": { "field": "items", @@ -860,7 +860,7 @@ ] }, { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b22144813", "_nested": { "field": "items", diff --git a/test/fixtures/query-675cfcd31b1f509a131926e50a81b84d.json b/test/fixtures/query-675cfcd31b1f509a131926e50a81b84d.json new file mode 100644 index 00000000..fee96f40 --- /dev/null +++ b/test/fixtures/query-675cfcd31b1f509a131926e50a81b84d.json @@ -0,0 +1,967 @@ +{ + "body": { + "took": 133, + "timed_out": false, + "_shards": { + "total": 1, + "successful": 1, + "skipped": 0, + "failed": 0 + }, + "hits": { + "total": { + "value": 1, + "relation": "eq" + }, + "max_score": 27.325544, + "hits": [ + { + "_index": "resources-2024-05-31", + "_id": "b22144813", + "_score": 27.325544, + "_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" + ] + }, + "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-05-31", + "_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-05-31", + "_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-163fd68fd31f9d109c79422c590d5da1.json b/test/fixtures/query-6c4366213fc6fd37c13ce162e2f69b97.json similarity index 97% rename from test/fixtures/query-163fd68fd31f9d109c79422c590d5da1.json rename to test/fixtures/query-6c4366213fc6fd37c13ce162e2f69b97.json index 5ffe7308..f3c0a134 100644 --- a/test/fixtures/query-163fd68fd31f9d109c79422c590d5da1.json +++ b/test/fixtures/query-6c4366213fc6fd37c13ce162e2f69b97.json @@ -1,6 +1,6 @@ { "body": { - "took": 62, + "took": 85, "timed_out": false, "_shards": { "total": 1, @@ -13,12 +13,12 @@ "value": 1, "relation": "eq" }, - "max_score": 159.35564, + "max_score": 161.35564, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b12709113", - "_score": 159.35564, + "_score": 161.35564, "_source": { "extent": [ "iv, 350 p. : ill., port. ;" @@ -162,7 +162,7 @@ "max_score": null, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b12709113", "_nested": { "field": "items", diff --git a/test/fixtures/query-1ce7b1bc5f8837d84ea06d657f53fc41.json b/test/fixtures/query-7347d3204b0b6c54bdff52464678c24f.json similarity index 99% rename from test/fixtures/query-1ce7b1bc5f8837d84ea06d657f53fc41.json rename to test/fixtures/query-7347d3204b0b6c54bdff52464678c24f.json index 97625510..d8aa590b 100644 --- a/test/fixtures/query-1ce7b1bc5f8837d84ea06d657f53fc41.json +++ b/test/fixtures/query-7347d3204b0b6c54bdff52464678c24f.json @@ -1,6 +1,6 @@ { "body": { - "took": 77, + "took": 31, "timed_out": false, "_shards": { "total": 1, @@ -13,12 +13,12 @@ "value": 1, "relation": "eq" }, - "max_score": 17.286333, + "max_score": 27.325544, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b22144813", - "_score": 17.286333, + "_score": 27.325544, "_source": { "extent": [ "1234, [1] pages, x leaves : illustrations ;", @@ -755,7 +755,7 @@ "max_score": null, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b22144813", "_nested": { "field": "items", @@ -860,7 +860,7 @@ ] }, { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b22144813", "_nested": { "field": "items", diff --git a/test/fixtures/query-8732f68ab2db69988edeaf44cbe0b5fa.json b/test/fixtures/query-8732f68ab2db69988edeaf44cbe0b5fa.json new file mode 100644 index 00000000..e83aebce --- /dev/null +++ b/test/fixtures/query-8732f68ab2db69988edeaf44cbe0b5fa.json @@ -0,0 +1,967 @@ +{ + "body": { + "took": 56, + "timed_out": false, + "_shards": { + "total": 1, + "successful": 1, + "skipped": 0, + "failed": 0 + }, + "hits": { + "total": { + "value": 1, + "relation": "eq" + }, + "max_score": 27.325544, + "hits": [ + { + "_index": "resources-2024-05-31", + "_id": "b22144813", + "_score": 27.325544, + "_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" + ] + }, + "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-05-31", + "_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-05-31", + "_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-92049dc507bb8c6e036e00abea11cddc.json b/test/fixtures/query-92049dc507bb8c6e036e00abea11cddc.json deleted file mode 100644 index 3b7e9001..00000000 --- a/test/fixtures/query-92049dc507bb8c6e036e00abea11cddc.json +++ /dev/null @@ -1,967 +0,0 @@ -{ - "body": { - "took": 115, - "timed_out": false, - "_shards": { - "total": 1, - "successful": 1, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": 25.325544, - "hits": [ - { - "_index": "resources-2024-05-29", - "_id": "b22144813", - "_score": 25.325544, - "_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" - ] - }, - "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-05-29", - "_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-05-29", - "_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-92a1488b12efa46989e7afa97b60f3ee.json b/test/fixtures/query-92a1488b12efa46989e7afa97b60f3ee.json deleted file mode 100644 index 63b84c29..00000000 --- a/test/fixtures/query-92a1488b12efa46989e7afa97b60f3ee.json +++ /dev/null @@ -1,967 +0,0 @@ -{ - "body": { - "took": 33, - "timed_out": false, - "_shards": { - "total": 1, - "successful": 1, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": 25.325544, - "hits": [ - { - "_index": "resources-2024-05-29", - "_id": "b22144813", - "_score": 25.325544, - "_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" - ] - }, - "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-05-29", - "_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-05-29", - "_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-9328c6cd68cae24988a62268e1ec9b13.json b/test/fixtures/query-9328c6cd68cae24988a62268e1ec9b13.json deleted file mode 100644 index b529f7c8..00000000 --- a/test/fixtures/query-9328c6cd68cae24988a62268e1ec9b13.json +++ /dev/null @@ -1,967 +0,0 @@ -{ - "body": { - "took": 91, - "timed_out": false, - "_shards": { - "total": 1, - "successful": 1, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": 25.325544, - "hits": [ - { - "_index": "resources-2024-05-29", - "_id": "b22144813", - "_score": 25.325544, - "_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" - ] - }, - "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-05-29", - "_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-05-29", - "_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-a0f0c412e62edea7caa59d9832727de0.json b/test/fixtures/query-a0f0c412e62edea7caa59d9832727de0.json new file mode 100644 index 00000000..b9c78b30 --- /dev/null +++ b/test/fixtures/query-a0f0c412e62edea7caa59d9832727de0.json @@ -0,0 +1,967 @@ +{ + "body": { + "took": 87, + "timed_out": false, + "_shards": { + "total": 1, + "successful": 1, + "skipped": 0, + "failed": 0 + }, + "hits": { + "total": { + "value": 1, + "relation": "eq" + }, + "max_score": 19.286333, + "hits": [ + { + "_index": "resources-2024-05-31", + "_id": "b22144813", + "_score": 19.286333, + "_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" + ] + }, + "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-05-31", + "_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-05-31", + "_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-a408de86d093552e974a71d485b7b647.json b/test/fixtures/query-a408de86d093552e974a71d485b7b647.json new file mode 100644 index 00000000..c02d4ddb --- /dev/null +++ b/test/fixtures/query-a408de86d093552e974a71d485b7b647.json @@ -0,0 +1,967 @@ +{ + "body": { + "took": 62, + "timed_out": false, + "_shards": { + "total": 1, + "successful": 1, + "skipped": 0, + "failed": 0 + }, + "hits": { + "total": { + "value": 1, + "relation": "eq" + }, + "max_score": 27.325544, + "hits": [ + { + "_index": "resources-2024-05-31", + "_id": "b22144813", + "_score": 27.325544, + "_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" + ] + }, + "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-05-31", + "_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-05-31", + "_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-62753868fbdc3cde33d50510e843e8dc.json b/test/fixtures/query-a861216892bffda345dd425c3fe21b37.json similarity index 98% rename from test/fixtures/query-62753868fbdc3cde33d50510e843e8dc.json rename to test/fixtures/query-a861216892bffda345dd425c3fe21b37.json index a8c9a7bb..c2af25ec 100644 --- a/test/fixtures/query-62753868fbdc3cde33d50510e843e8dc.json +++ b/test/fixtures/query-a861216892bffda345dd425c3fe21b37.json @@ -1,6 +1,6 @@ { "body": { - "took": 92, + "took": 110, "timed_out": false, "_shards": { "total": 1, @@ -16,7 +16,7 @@ "max_score": 133.44362, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b13565153", "_score": 133.44362, "_source": { @@ -204,7 +204,7 @@ "max_score": null, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b13565153", "_nested": { "field": "items", diff --git a/test/fixtures/query-b05d5961849c75fafce68c2f1522f387.json b/test/fixtures/query-af79da162c54e997bd146d4fb7d4851d.json similarity index 97% rename from test/fixtures/query-b05d5961849c75fafce68c2f1522f387.json rename to test/fixtures/query-af79da162c54e997bd146d4fb7d4851d.json index e8dc423f..e734b9b8 100644 --- a/test/fixtures/query-b05d5961849c75fafce68c2f1522f387.json +++ b/test/fixtures/query-af79da162c54e997bd146d4fb7d4851d.json @@ -1,6 +1,6 @@ { "body": { - "took": 64, + "took": 49, "timed_out": false, "_shards": { "total": 1, @@ -13,12 +13,12 @@ "value": 1, "relation": "eq" }, - "max_score": 176.41748, + "max_score": 178.41748, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b12423567", - "_score": 176.41748, + "_score": 178.41748, "_source": { "extent": [ "202 p." @@ -166,7 +166,7 @@ "max_score": null, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b12423567", "_nested": { "field": "items", diff --git a/test/fixtures/query-b1fe7495ddddaacedf9c40ab9275efd6.json b/test/fixtures/query-b1fe7495ddddaacedf9c40ab9275efd6.json new file mode 100644 index 00000000..ea3639b8 --- /dev/null +++ b/test/fixtures/query-b1fe7495ddddaacedf9c40ab9275efd6.json @@ -0,0 +1,967 @@ +{ + "body": { + "took": 32, + "timed_out": false, + "_shards": { + "total": 1, + "successful": 1, + "skipped": 0, + "failed": 0 + }, + "hits": { + "total": { + "value": 1, + "relation": "eq" + }, + "max_score": 51.982105, + "hits": [ + { + "_index": "resources-2024-05-31", + "_id": "b22144813", + "_score": 51.982105, + "_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" + ] + }, + "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-05-31", + "_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-05-31", + "_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-b4550b41de2cb2a50f540d145040cbd1.json b/test/fixtures/query-b4550b41de2cb2a50f540d145040cbd1.json deleted file mode 100644 index b67c9cae..00000000 --- a/test/fixtures/query-b4550b41de2cb2a50f540d145040cbd1.json +++ /dev/null @@ -1,967 +0,0 @@ -{ - "body": { - "took": 50, - "timed_out": false, - "_shards": { - "total": 1, - "successful": 1, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": 49.982105, - "hits": [ - { - "_index": "resources-2024-05-29", - "_id": "b22144813", - "_score": 49.982105, - "_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" - ] - }, - "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-05-29", - "_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-05-29", - "_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-baaca4d165decc41b4cdc8697362e40e.json b/test/fixtures/query-baaca4d165decc41b4cdc8697362e40e.json new file mode 100644 index 00000000..73b45453 --- /dev/null +++ b/test/fixtures/query-baaca4d165decc41b4cdc8697362e40e.json @@ -0,0 +1,967 @@ +{ + "body": { + "took": 36, + "timed_out": false, + "_shards": { + "total": 1, + "successful": 1, + "skipped": 0, + "failed": 0 + }, + "hits": { + "total": { + "value": 1, + "relation": "eq" + }, + "max_score": 27.325544, + "hits": [ + { + "_index": "resources-2024-05-31", + "_id": "b22144813", + "_score": 27.325544, + "_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" + ] + }, + "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-05-31", + "_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-05-31", + "_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-19479abf88e1ce95d9ea9d54dc084757.json b/test/fixtures/query-c6fecd31be63b8f3daca8063933fc701.json similarity index 99% rename from test/fixtures/query-19479abf88e1ce95d9ea9d54dc084757.json rename to test/fixtures/query-c6fecd31be63b8f3daca8063933fc701.json index dce69c10..8ae153d2 100644 --- a/test/fixtures/query-19479abf88e1ce95d9ea9d54dc084757.json +++ b/test/fixtures/query-c6fecd31be63b8f3daca8063933fc701.json @@ -1,6 +1,6 @@ { "body": { - "took": 132, + "took": 78, "timed_out": false, "_shards": { "total": 1, @@ -13,12 +13,12 @@ "value": 1, "relation": "eq" }, - "max_score": 33.46037, + "max_score": 35.46037, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b22144813", - "_score": 33.46037, + "_score": 35.46037, "_source": { "extent": [ "1234, [1] pages, x leaves : illustrations ;", @@ -755,7 +755,7 @@ "max_score": null, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b22144813", "_nested": { "field": "items", @@ -860,7 +860,7 @@ ] }, { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "b22144813", "_nested": { "field": "items", diff --git a/test/fixtures/query-c89de83a7be530e1f33bc986745afd59.json b/test/fixtures/query-c89de83a7be530e1f33bc986745afd59.json deleted file mode 100644 index b1d18eaa..00000000 --- a/test/fixtures/query-c89de83a7be530e1f33bc986745afd59.json +++ /dev/null @@ -1,967 +0,0 @@ -{ - "body": { - "took": 35, - "timed_out": false, - "_shards": { - "total": 1, - "successful": 1, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": 25.325544, - "hits": [ - { - "_index": "resources-2024-05-29", - "_id": "b22144813", - "_score": 25.325544, - "_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" - ] - }, - "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-05-29", - "_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-05-29", - "_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-d15ae8a2c5fb86a3d9f852af3720b112.json b/test/fixtures/query-d15ae8a2c5fb86a3d9f852af3720b112.json new file mode 100644 index 00000000..c51787f6 --- /dev/null +++ b/test/fixtures/query-d15ae8a2c5fb86a3d9f852af3720b112.json @@ -0,0 +1,967 @@ +{ + "body": { + "took": 85, + "timed_out": false, + "_shards": { + "total": 1, + "successful": 1, + "skipped": 0, + "failed": 0 + }, + "hits": { + "total": { + "value": 1, + "relation": "eq" + }, + "max_score": 27.325544, + "hits": [ + { + "_index": "resources-2024-05-31", + "_id": "b22144813", + "_score": 27.325544, + "_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" + ] + }, + "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-05-31", + "_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-05-31", + "_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-e76b15271ee4a6f5cb43a5d920683bfd.json b/test/fixtures/query-e76b15271ee4a6f5cb43a5d920683bfd.json deleted file mode 100644 index 81f49c88..00000000 --- a/test/fixtures/query-e76b15271ee4a6f5cb43a5d920683bfd.json +++ /dev/null @@ -1,967 +0,0 @@ -{ - "body": { - "took": 253, - "timed_out": false, - "_shards": { - "total": 1, - "successful": 1, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": 56.755146, - "hits": [ - { - "_index": "resources-2024-05-29", - "_id": "b22144813", - "_score": 56.755146, - "_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" - ] - }, - "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-05-29", - "_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-05-29", - "_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-a8ea90e7edb47ac1c55577e39080fc76.json b/test/fixtures/query-ea7a9eae1f9f4f99fcbeda1dbac0695a.json similarity index 98% rename from test/fixtures/query-a8ea90e7edb47ac1c55577e39080fc76.json rename to test/fixtures/query-ea7a9eae1f9f4f99fcbeda1dbac0695a.json index cdf6afd2..84e8a05e 100644 --- a/test/fixtures/query-a8ea90e7edb47ac1c55577e39080fc76.json +++ b/test/fixtures/query-ea7a9eae1f9f4f99fcbeda1dbac0695a.json @@ -1,6 +1,6 @@ { "body": { - "took": 34, + "took": 35, "timed_out": false, "_shards": { "total": 1, @@ -16,7 +16,7 @@ "max_score": 31.66558, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "pb1717", "_score": 31.66558, "_source": { @@ -159,7 +159,7 @@ "max_score": null, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "pb1717", "_nested": { "field": "items", @@ -237,7 +237,7 @@ } }, { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "pb9917173506421", "_score": 31.66558, "_source": { @@ -431,7 +431,7 @@ "max_score": null, "hits": [ { - "_index": "resources-2024-05-29", + "_index": "resources-2024-05-31", "_id": "pb9917173506421", "_nested": { "field": "items", diff --git a/test/fixtures/query-f3d12ab70f265db053dff0c6b6c7a1fa.json b/test/fixtures/query-f3d12ab70f265db053dff0c6b6c7a1fa.json deleted file mode 100644 index aa0785d5..00000000 --- a/test/fixtures/query-f3d12ab70f265db053dff0c6b6c7a1fa.json +++ /dev/null @@ -1,967 +0,0 @@ -{ - "body": { - "took": 47, - "timed_out": false, - "_shards": { - "total": 1, - "successful": 1, - "skipped": 0, - "failed": 0 - }, - "hits": { - "total": { - "value": 1, - "relation": "eq" - }, - "max_score": 25.325544, - "hits": [ - { - "_index": "resources-2024-05-29", - "_id": "b22144813", - "_score": 25.325544, - "_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" - ] - }, - "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-05-29", - "_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-05-29", - "_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/scsb-by-barcode-55f00e8cc159bdb82a9d767ee859bb27.json b/test/fixtures/scsb-by-barcode-c4ad1e16616ee03988ecd2a3977cddcf.json similarity index 100% rename from test/fixtures/scsb-by-barcode-55f00e8cc159bdb82a9d767ee859bb27.json rename to test/fixtures/scsb-by-barcode-c4ad1e16616ee03988ecd2a3977cddcf.json index f17b530f..9a66c523 100644 --- a/test/fixtures/scsb-by-barcode-55f00e8cc159bdb82a9d767ee859bb27.json +++ b/test/fixtures/scsb-by-barcode-c4ad1e16616ee03988ecd2a3977cddcf.json @@ -15,32 +15,32 @@ "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 }, { - "itemBarcode": "33433099607917", + "itemBarcode": "33433115147914", "itemAvailabilityStatus": "Available", "errorMessage": null }, { - "itemBarcode": "33433099608063", + "itemBarcode": "33433105255586", "itemAvailabilityStatus": "Available", "errorMessage": null }, { - "itemBarcode": "33433099608188", + "itemBarcode": "33433074083142", "itemAvailabilityStatus": "Available", "errorMessage": null }