Duplicate
Details
Assignee
Doug LoynesDoug LoynesReporter
Doug LoynesDoug LoynesPriority
TBDStory Points
3Sprint
NoneDevelopment Team
CitationTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Doug Loynes
Doug LoynesReporter
Doug Loynes
Doug LoynesPriority
Story Points
3
Sprint
None
Development Team
Citation
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created July 26, 2023 at 11:14 AM
Updated May 8, 2024 at 5:06 PM
Resolved May 8, 2024 at 5:05 PM
Closing card as it appears to (largely) duplicate functionality already deployed.
As a cataloger, I need the ability to locate resource descriptions in the collection by searching on title.
In scope
For this card, index 'Main Title' and 'Other Title' fields for the Instance entity only.
Keyword indexing on Instance title fields for Monograph
Phrase indexing on Instance title fields for Monograph
Simple search queries (as listed below in use cases)
Out of scope
Variant Title, inclusive of 'Main Title' and 'Other Title'
Parallel Title, inclusive of 'Main Title' and 'Other Title'
Title normalization
Left anchor searching
Indexing Work entity
Multiple language indexing
Compound search queries (e.g. nested queries, queries that exclude specified search terms)
Use cases
1. CQL 'all' - single search term
Simple keyword searching of title index
The following queries are equivalent, and each require that both the term "x" is included in the title for a resource description. The queries should return the same result sets.
title all x
title all "x"
2. CQL 'all' - multiple search terms
Simple keyword searching of title index
The following queries are equivalent, and each require that both terms "x" and "y" are included in the title for a resource description without specifying the order in which the terms are present in the title. The queries should return the same result sets.
title all "x y"
title all "y x"
3. CQL 'any'
Simple keyword searching of title index
The following queries are equivalent. The condition requires that either search terms"x" or "y" is included in the title for a resource description. And the search queries return the same result sets
title any "x y"
title any "y x"
4. CQL simple phrase
Simple phrase searches the title index for search query terms in a precise order
The following queries are not equivalent.
title == "x y"
--> the resource description includes the phrase "x y" in the correct order anywhere in the title
title == "y x"
--> the resource description includes the phrase "y x" in the correct order anywhere in the title
5. CQL exact phrase
Exact phrase searching of title index
The following queries are mutually exclusive
title ==/string "x y"
--> the title for the resource description matches "x y" exactly
title ==/string "y x"
--> the title for the resource description matches "y x" exactly
CQL documentation for mod-search: https://github.com/folio-org/mod-search#multi-language-search-support
Operator
Full text usage
Term field usage
Description
all
title
all
"semantic web"
N/A
Matches a resource that has both
semantic
andweb
in thetitle
fieldany
title
any
"semantic web"
N/A
Matches a resource that has either of/both
semantic
orweb
in thetitle
field=
title = "semantic web"
hrid = "hr10"
Has the same effect as
all
for FT fields and is the same as==
for term fields==
title == "semantic web"
hrid == "hr10"
Phrase match for FT fields (i.e. matches resources that contains both
semantic
andweb
exactly in the same order), exact match for term fieldsCQL operators could have modifiers that change search behaviour
Operator
Modifier
Usage
Description
==
string
title ==/string "semantic web"
Exact match for full text fields