Versions Compared

Key

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

...

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

Exact Phrase Search

The Recipe

GroupDocs.Search allows you to search the documents by exact phrase. Following steps are needed to be followed:

  • Initialize Index
  • Add documents folder to Index
  • Perform a search operation using Index.search("\"exact phrase\"")

The Code

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