Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Primo

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Primo
    3. Knowledge Articles
    4. Results vary for hyphenated search terms

    Results vary for hyphenated search terms

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Primo
    • Product Version: 4.5.1

    Problem Symptoms:
    Searches for hyphenated terms produce different results if there are spaces between the words and the hyphens - as opposed to when there aren't any spaces.

    For example:
    "Daniel Day-Lewis" will produce less results than "Daniel Day - Lewis".

    This happens when "Remove Hyphens" is checked in the Back Office under Search Engine Configuration.

    Cause:
    During the search, if there are spaces between the words and hyphens, like in "Daniel Day - Lewis", the hyphens are normalized out.
    However, if there are no spaces -- the hyphen is not normalized out. This results in two different queries.

    In the logs you will see the following:
    2014-07-18 18:56:38,034 DEBUG [t-pool-223-thread-1] [c-BooleanOperator] - The query after operator normalization: daniel day-lewis > after searching daniel day-lewis
    2014-07-18 18:56:44,893 DEBUG [t-pool-224-thread-1] [c-BooleanOperator] - The query after operator normalization: daniel day lewis > after searching daniel day - lewis

    Resolution:
    No resolution yet - issue under Development.

    Category: Front End - Primo

    Subject: Search


    • Article last edited: 8/22/2014
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Results in Browse vary for hyphenated search terms
      • Results with long titles can't be entered in browse search
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Community Content Type
      How To
      Content Type
      Knowledge Article
      Language
      English
      Product
      Primo
    2. Tags
      1. 4.5.1
      2. contype:kba
      3. Front End - Primo
      4. Prod:Primo
      5. search
      6. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved