Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


toc

Table of Contents

Scope

This page is for searches using Inventory UI or mod-search APIs (/search/...).

For searches using mod-inventory APIs (/inventory/...) or mod-inventory-storage APIs (/inventory-storage/...) see Search - using PostgreSQL.

Search and Filtering

In Inventory, we have implemented a button group to toggle between searching on the instance, holdings, or item level.

...

Search in the Holdings and Item segments are a combination of key data from the Instance record, combined with holdings and item specific data elements. 

Search / filter options in

...

Orchid


InstanceHoldingsItems
Search options

Image RemovedImage Added

Image RemovedImage Added

Image RemovedImage Added

Filter options

Image RemovedImage Added

Image RemovedImage Added

Image RemovedImage Added


Query Search using CQL (Instance, Holdings, Item segment)

...

InstanceHoldingsItems

Electronic Access (all)

Example: electronicAccess any "resource"

Electronic Access (all)

Example: holdings.electronicAccess any "resource"

Electronic Access (all)

Example:  items.electronicAccess any "resource"

Electronic Access - URI

Example: electronicAccess.uri="http://folio.org*"

Electronic Access - URI

Example: holdings.electronicAccess.uri="http://folio.org*"

Example in Bugfest Lotus: holdings.electronicAccess.uri="http://uchicago.naxosmusiclibrary.com/catalogue/item.asp*"


Electronic Access - URI


Example: items.electronicAccess.uri="http://folio.org*"


Example in Bugfest Lotus:

items.electronicAccess.uri="http://proxy.library.tamu.edu/login?url=http://congressional.proquest.com/congcomp/getdoc?SERIAL-SET-ID=8226+H.rp.102*"


Electronic Access - Public Note

Example: electronicAccess.publicNote="a rare book"

Electronic Access - Public Note

Example:  holdings.electronicAccess.publicNote="a rare book"

Electronic Access - Public Note

Example: items.electronicAccess.publicNote="a rare book"

Electronic Access - Link Text

Example: electronicAccess.linkText="Folio website"

Electronic Access - Link Text

Example: holdings.electronicAccess.linkText="Folio website"

Electronic Access - Link Text

Example: items.electronicAccess.linkText="Folio website"

Public notes

Example: publicNotes all "public note"

Public notes

Example: holdingPublicNotes all "public note"

Public notes

Example: itemPublicNotes all "public note"


Holdings notes

Example: holdings.notes.note all "librarian note"

Circulation notes (all)

Example: items.circulationNotes.note all "circulation note"

ID

Example: id=="1234567"

All call number data elements

Example: holdingsFullCallNumbers="cn*434"

All call number data elements

Example: itemsFullCallNumbers="cn*434"

Alternative Titles

Example: alternativeTitles.alternativeTitle all semantic web

All holdings identifiers

Example: holdingIdentifiers = 1234

Normalized call number:

Example: itemsNormalizedCallNumbers="cn434"

Uniform Title

Example: uniformTitle all semantic web


Item UUID:

Example:  itemIdentifiers all "81ae0f60-f2bc-450c-84c8-5a21096daed9"

Series

Example: series all Cooperative information systems



Publisher

Example: publisher all MIT



Classification Number

Example: classifications.classificationNumber==025.04




Using boolean operators in Query Search (AND, OR, NOT)

...

You can also search on e.g. multiple ISBNs; e.g. Query search: isbn=9781893354500 9780763653378 OR isbn=9780814744062 0312087608 OR isbn=9780874629163 9781938461026 in Bugfest LotusOrchid:

https://bugfest-lotusorchid.int.aws.folio.org/inventory?qindex=querySearch&query=isbn%3D9781893354[…]R%20isbn%3D9780874629163&segment=instancesisbn%3D9780763653378%20OR%20isbn%3D0312087608%20OR%20isbn%3D9781938461026&sort=title

Image RemovedImage Added

Query search also supports search on primary contributors; e.g. Query search:  contributors all "John" and contributors.primary==true in Bugfest LotusOrchid:

https://bugfest-lotusorchid.int.aws.folio.org/inventory/view/cde54533-9af6-4e1a-a23c-0291eccd8192?qindex=querySearch&query=contributors%20all%20%22John%22%20and%20contributors.primary%3D%3Dtrue&segment=instances&sort=title

Image RemovedImage Added



Using Filter/Facets

...

Note that because this is disabled by default, it is not enabled on any of the reference environments.

Example: cql.all all "web semantic"

InstanceHoldingsItems

Search by all field values in the instance 

Example: cql.allInstances any "1234567"

Search by all field values in the holdings

Example:  cql.allHoldings all "ho001"

Search by all field values in the item

Example: cql.allItems all "book"


Advanced search (pending development)

...

  • publication.dateOfPublication
  • publicationPeriod.start and publicationPeriod.end
    • publicationPeriod is meant to support sorting search results by publication date. It is a derived value field based on the values in dateOfPublication - see
      Jira Legacy
      serverSystem JiraJIRA
      serverId01505d01-b853-3c2e-90f1-ee9b165564fc
      keyMODINVSTOR-724
      for requirements on how start and end are populated based on dateOfPublication

...