Exact phrase searching requirements

https://folio-org.atlassian.net/browse/UXPROD-4694

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

Requirements

Requirement

Notes

Requirement

Notes

1

With exact phrase searching, word-stemming should not be applied in any language

confirmed

2

Support the ability to use double quotes in basic search of Inventory and MARC authority apps to represent an exact phrase search

confirmed

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)

confirmed

4

Do not apply fuzzy logic or word stemming; "Global" should not match to "Globalization"

confirmed

5

No additional positions allowed between terms in the phrase for a match

confirmed

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

confirmed

7

Searches should NOT be case sensitive

confirmed

8

Full-text usage 

confirmed

Scenarios

Query (all case insensitive)

Returns instances

Does NOT return (examples)

Scenario

Query (all case insensitive)

Returns instances

Does NOT return (examples)

Scenario

1

“Global Africa”

  • Global Africa :into the twenty-first century /edited by Dorothy L. Hodgson and Judith A. Byfield.

    • Q HRID: in11061239

  • Email from Ngeti :an ethnography of sorcery, redemption, and friendship in global Africa /James H. Smith and Ngeti Mwadime.

    • Q HRID: in10078242

  • Globalizing Africa / edited by Malinda S. Smith.

    • Q HRID: ins00006904937

Exact phrase

2

“Global africa” ethnography sorcery

  • Email from Ngeti :an ethnography of sorcery, redemption, and friendship in global Africa /James H. Smith and Ngeti Mwadime.

    • Q HRID: in10078242

  • Global Africa :into the twenty-first century /edited by Dorothy L. Hodgson and Judith A. Byfield.

    • Q HRID: in11061239

Exact phrase with additional terms

3

“Global africa” Ngeti

  • Email from Ngeti :an ethnography of sorcery, redemption, and friendship in global Africa /James H. Smith and Ngeti Mwadime.

    • Q HRID: in10078242

  • Global Africa :into the twenty-first century /edited by Dorothy L. Hodgson and Judith A. Byfield.

    • Q HRID: in11061239

Exact phrase with additional terms

4

“globalizing africa”

  • Globalizing Africa / edited by Malinda S. Smith.

    • Q HRID: ins00006904937

  • Global Africa :into the twenty-first century /edited by Dorothy L. Hodgson and Judith A. Byfield.

    • Q HRID: in11061239

  • Email from Ngeti :an ethnography of sorcery, redemption, and friendship in global Africa /James H. Smith and Ngeti Mwadime.

    • Q HRID: in10078242

Exact phrase

5

Global africa (no quotes)

  • Africa and global climate change /guest ed.: Paul Desanker.

    • Q HRID: in4767946

  • The Global Horizon: Expectations of Migration in Africa and the Middle East

    • Q HRID: ins00007262217

  • Neoliberal Africa :the impact of global social engineering /Graham Harrison.

    • Q HRID: in11222236

  • Globalizing Africa / edited by Malinda S. Smith.

    • Q HRID: ins00006904937

  • West Africa and the global financial crisis /edited by Diery Seck.

    • Q HRID: in9044464

  • Global Africa :into the twenty-first century /edited by Dorothy L. Hodgson and Judith A. Byfield.

    • Q HRID: in11061239

  • Email from Ngeti :an ethnography of sorcery, redemption, and friendship in global Africa /James H. Smith and Ngeti Mwadime.

    • Q HRID: in10078242

  • Africa :up in smoke 2 /the second report on Africa and global warming from the Working Group on Climate Change and Development ; [written and compiled by John Magrath with the assistance of Andrew Simms].

    • Q HRID: in6239135

The climate of Africa.

  • Q HRID: in3214577

Basic search (contains all)

6

“climate change” Africa

  • Africa and global climate change /guest ed.: Paul Desanker.

    • Q HRID: in4767946

  • Africa :up in smoke 2 /the second report on Africa and global warming from the Working Group on Climate Change and Development ; [written and compiled by John Magrath with the assistance of Andrew Simms].

    • Q HRID: in6239135

  • The climate of Africa.

    • Q HRID: in3214577

Exact phrase with additional terms

7

 

 

 

 

Test files

Title

File

Title

File

1

Africa and global climate change /guest ed.: Paul Desanker.

Q HRID: in4767946

 

2

The Global Horizon: Expectations of Migration in Africa and the Middle East

Q HRID: ins00007262217

 

3

Globalizing Africa / edited by Malinda S. Smith.

Q HRID: ins00006904937

 

4

Neoliberal Africa :the impact of global social engineering /Graham Harrison.

Q HRID: in11222236

 

5

West Africa and the global financial crisis /edited by Diery Seck.

Q HRID: in9044464

 

6

Global Africa :into the twenty-first century /edited by Dorothy L. Hodgson and Judith A. Byfield.

Q HRID: in11061239

 

7

Email from Ngeti :an ethnography of sorcery, redemption, and friendship in global Africa /James H. Smith and Ngeti Mwadime.

Q HRID: in10078242

 

8

Africa :up in smoke 2 /the second report on Africa and global warming from the Working Group on Climate Change and Development ; [written and compiled by John Magrath with the assistance of Andrew Simms].

Q HRID: in6239135

 

9

The climate of Africa.

Q HRID: in3214577