Image search options

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Search MCP server lets your agent work with files on your machine; they are never uploaded. It runs in Docker: replace /path/to/documents with the folder it may use.

claude mcp add groupdocs-search -- docker run --rm -i -v /path/to/documents:/data ghcr.io/groupdocs-search/search-net-mcp:latest
Folders, licensing and more →

This page contains a description of all search options that can be specified in an instance of the ImageSearchOptions class.

HashDifferences property

The HashDifferences property allows you to specify the maximum number of mismatched bits in the image hash. If all the bits in the hash match, then the images match completely. The more different bits, the more the images differ from each other. The default value of the property is 5. Since the image hash is 64 bits long, the meaningful values are in the range from 0 to 64: a value greater than 64 is treated as 64, and a negative value means that no images are found.

MaxResultCount property

The MaxResultCount property allows you to specify the maximum number of found images for a reverse image search request. The found images with fewer mismatched bits are returned first. Since version 26.11, the images with the same number of mismatched bits are in the same order in every search while the index is not changed, so a result that this limit cuts has the same images; before, their order could differ from search to search when the search used several threads. The default value is 1000.

SearchDocumentFilter property

The SearchDocumentFilter property allows you to specify the filter of documents returned as a search result. By default, all documents found will be returned as a search result. For details, see the Document filtering in search result page.

More resources

GitHub examples

You may easily run the code from documentation articles and see the features in action in our GitHub examples:

Free online document search App

Along with full featured .NET library we provide simple, but powerful free Apps.

You are welcome to search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our free online Free Online Document Search App.