Highlighted

RH 2017 - Possible to remove part of context in the Search results?

Enthusiast ,
May 05, 2020

Copy link to clipboard

Copied

Greetings RHelpers,

I'm using the latest RH 2017 with an Responsive HTML5 layout:

The picture below shows a topic from our help.

 

I want to remove the red crossed out content from the Search pane results (it's already in the search results largely anyway). I want to just start it with the paragraph content (the orange):

 

Red-What I want to remove / Orange-What I want to start withRed-What I want to remove / Orange-What I want to start with

Is it possible? If so, where and how?

Thank you in advance.

Jared

Views

501

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

RH 2017 - Possible to remove part of context in the Search results?

Enthusiast ,
May 05, 2020

Copy link to clipboard

Copied

Greetings RHelpers,

I'm using the latest RH 2017 with an Responsive HTML5 layout:

The picture below shows a topic from our help.

 

I want to remove the red crossed out content from the Search pane results (it's already in the search results largely anyway). I want to just start it with the paragraph content (the orange):

 

Red-What I want to remove / Orange-What I want to start withRed-What I want to remove / Orange-What I want to start with

Is it possible? If so, where and how?

Thank you in advance.

Jared

Views

502

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
May 05, 2020

Copy link to clipboard

Copied

By default the search abstract will display a number of words before the matched search word. If the search word is near the top of the topic, a number of words from the first heading will display.

 

The larger text is the title that you set in the topic properties. This is often the same as the first heading in the topic (and automatically is when you first create the topic), but may be different, for example, if you change the first heading, but don't also change the Title field in topic properties.

 

The search context (smaller text) is visible text in the topic and may include the text of the first heading. If your first heading is the same as your topic title, you end up with what looks like duplicate text in the search context.

 

The only way I know to avoid this is use the Comment field in the topic properties to enter a description, then make sure "Use Topic Comment as Search Context" is selected in the Output dialog box (in the Search section).

 

However, you must enter a comment for every topic, or if you don't, make certain no-one else has used the comment field for anything else. For example, I used to use this for notes to myself about tricky business rules, or someone may have used it to include contact information, or anything else you can think of.

 

(There may also be some other elements of your page or master page contributing, but I can't see your full help page, so I'm not sure.)

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Enthusiast ,
May 12, 2020

Copy link to clipboard

Copied

Thanks Amebr. Our headings are indeed nearly always identical to the topic title, so yes, we have a lot of duplicated text. We've decided it's better to clear the search context check box from the SSL to get around this. It would be nice if we could just keep the body text context somehow and hide the other, but it doesn't look like that's possible. Oh well. Thanks.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...