Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

GroupDocs.Search allows you to perform Simple Search operations, the following steps are needed to be followed:

...

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

Exact Phrase Search

Since version 16.10, GroupDocs.Search allows you to search the documents by exact phrase. Following sample demonstrates the usage of this feature.

 

HTML
<script src="https://gist.github.com/GroupDocsGists/d7ab1aedacc6a70e4bf832fe2cfb752a.js"></script>
Note

Use double quotes in the query string for Exact Phrase Search.

Exact Phrase Search with Highlighted Results

Since version 17.12, GroupDocs.Search allows you to generate HTML-formatted text with highlighted found terms for the results of exact phrase search. The following code sample shows the usage of this feature.

HTML
<script src="https://gist.github.com/GroupDocsGists/455f1c1ca326f4606f8a9b6c69c5c883.js"></script>