Sometimes search does not find string if it is inserted in a string

Please post all questions on Help+Manual 8 here

Moderators: Alexander Halser, Tim Green

Post Reply
Lina Castro
Posts: 21
Joined: Tue Jun 30, 2015 8:04 am

Sometimes search does not find string if it is inserted in a string

Unread post by Lina Castro »

We have a problem in the published manual (WebHelp), sometimes if we search for a string inserted in a string, the search cannot find the string.

Example: AssetRetakeInternalOperation cannot be found in the string Olissipo.AssetRetakes.DataStructures.AssetRetakeInternalOperation.

However, if the topic has a separate AssetRetakeInternalOperation string, search can find the string in Olissipo.AssetRetakes.DataStructures.AssetRetakeInternalOperation.

Can you help us resolve the problem?
User avatar
Tim Green
Site Admin
Posts: 7819
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Sometimes search does not find string if it is inserted in a string

Unread post by Tim Green »

Hi Lina,

This is because by default, the dot (.) is included as a word-joining character. In your example this results in a word that is much too long to be indexed, and so the search engine can't find it because it's not in the index. Look in the full text search settings in your skin (NOT in your project, the settings there are ignored) and remove the dot (.) from the word-joining characters setting. Note that this will also prevent ALL strings including dots from being treated as single words.

If you are using from the Premium Pack to edit your skin the setting is in Edit > Search Settings. In Help+Manual it is in Configuration > Publishing > WebHelp > Full Text Search.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Lina Castro
Posts: 21
Joined: Tue Jun 30, 2015 8:04 am

Re: Sometimes search does not find string if it is inserted in a string

Unread post by Lina Castro »

Hi Tim,

It worked, thank you very much for your help.
Regards,
Lina
Post Reply