The purpose of this story is to allow the user a full text search within the item's notes field.
- Case insensitive
- Word match in the Inventory item's Notes.note (array of strings)
- Search by public notes when staff only note is set to false
- Search by all item notes
- Supports search in other than English languages (including CKJ languages, Arabic, Hebrew)
- Query returns accurate hit count
- User can search by any word that is a part of the field's value
- Results are ranked based on term frequency, inverse document frequency and field length
- Stemming according with configured on the tenant language tokenizers
- Hyphens are treated as separators of the tokens.
Outside the scope:
- limiting search by the note type
Inventory item schema: https://github.com/folio-org/mod-inventory-storage/blob/master/ramls/item.json