...
Purpose: In current implementation, exact phrase searching is not supported in basic search, and though it is a search modifier in both advanced search and query search, fuzzy logic/word-stemming is applied. We need to support the ability to perform a true exact search in all three query types.
*Note: It was determined that word-stemming is applied if the language of the record is “English”. In order to remove this behavior, we would need to change the type of field from multi-lang to keyword.
Contents
Table of Contents | ||
---|---|---|
|
...
Requirement | Notes | |||||||
---|---|---|---|---|---|---|---|---|
1 | With exact phrase searching, word-stemming should not be applied in any language |
| ||||||
2 | Support the ability to use double quotes in basic search of Inventory and MARC authority apps to represent an exact phrase search |
| ||||||
3 | When users input terms within double quotes while conducting a search in Inventory or MARC authority app, match against titles using an exact match, in the exact order (match phrase query) |
| ||||||
4 | Do not apply fuzzy logic or word stemming; "Global" should not match to "Globalization" |
| ||||||
5 | No additional positions allowed between terms in the phrase for a match |
| ||||||
6 | Terms outside of the quotes should all also be found in the title, but not necessarily in the same order and may have additional words in between |
| ||||||
7 | Searches should NOT be case sensitive |
| ||||||
8 | Full-text usage |
| ||||||
9 | For Keyword search, when query only contains terms within quotes, the exact phrase should be searched in all fields in the Keyword index |
| ||||||
10 | For Keyword search, when query contains both terms within quotes and terms outside of the quotes:
|
| ||||||
11 | For exact phrase, the search should be agnostic to diacritics. |
|
Scenarios
Query (all case insensitive) | Returns instances | Does NOT return (examples) | Scenario | |
---|---|---|---|---|
1 | “Global Africa” |
|
| Exact phrase |
2 | “Global africa” ethnography sorcery |
|
| Exact phrase with additional terms |
3 | “Global africa” Ngeti |
|
| Exact phrase with additional terms |
4 | “globalizing africa” |
|
| Exact phrase |
5 | Global africa (no quotes) |
| The climate of Africa.
| Basic search (contains all) |
6 | “climate change” Africa |
|
| Exact phrase with additional terms |
7 |
...