The code in below examples uses some methods defined in Common Utilities.

This feature is supported by version 18.12 or greater.

Blended Characters Search

GroupDocs.Search API introduces a new class of characters - blended. When indexing, blended characters are interpreted simultaneously as valid letters and as separators. For example, if the hyphen is marked as a blended character then indexing of term 'silver-gray' will result in saving of 3 terms in the index: 'silver', 'gray', and 'silver-gray'.

The Recipe

To search words having blended characters, the below steps are needed to be followed:

The Code

<script src="https://gist.github.com/GroupDocsGists/e2fbbc95998a6e80ba26c38d3c85baa3.js"></script>