Skip to main content
Known Participant
July 29, 2021
Answered

HTML Search - Can't limit to whole words

  • July 29, 2021
  • 4 replies
  • 452 views

I did an HTML5 output in 2019 classic. I searched the term TEC-X and it brought up 367 results. Many of them were just the letter X. Is there a setting in the ouput that I need to change so that it just searches for whole words? Below is an example of what I am saying:

 

Thank you in advance for your help.

 

 

This topic has been closed for replies.
Correct answer Jeff_Coatsworth

And what happens if you don't have sub-string search enabled and use quotes around your search term?

4 replies

Community Expert
July 30, 2021

I believe the search technology in RH2019 New UI and RH2020 changed, so the search is rather different. In addition to reading Peter's excellent site, I would recommend thorough testing as in my brief testing some of the settings don't seem to work exactly the same way as classic.

 

I haven't yet tested the latest RH2020, so it's possible some of the behaviour I was seeing was bugs in 2019.

Jeff_Coatsworth
Community Expert
Community Expert
July 29, 2021

That one I'm not sure on - check Peter's excellent site for clues on RH2020 features - grainge.org

Jeff_Coatsworth
Community Expert
Jeff_CoatsworthCommunity ExpertCorrect answer
Community Expert
July 29, 2021

And what happens if you don't have sub-string search enabled and use quotes around your search term?

Known Participant
July 29, 2021

It only brings up the phrase that I entered.

 

Thanks Jeff!

Jeff_Coatsworth
Community Expert
Community Expert
July 29, 2021

IIRC that's "sub-string" search - check your SSL Output settings

Known Participant
July 29, 2021

I unchecked the "sub-string" search box. That helps get rid of many of the x's (except those that are by themselves and capitalized). But it also brings up a bunch of pages that have no highlights in the text from the search result. I tried all kinds of combinations of the settings but unchecking the "sub-string" box seems the best of many evils. Our customers will have to go through so many pages that have nothing on them related to the search.