ImageSearchOptions
Inheritance: java.lang.Object
public class ImageSearchOptions
Provides options for reverse image search operation.
Constructors
Constructor | Description |
---|---|
ImageSearchOptions() | Initializes a new instance of the ImageSearchOptions class. |
ImageSearchOptions(Object data) | Initializes a new instance of the ImageSearchOptions class. |
Methods
Method | Description |
---|---|
getHashDifferences() | Gets the maximum number of mismatched bits in the image hash. |
setHashDifferences(int value) | Sets the maximum number of mismatched bits in the image hash. |
getMaxResultCount() | Gets the maximum number of found images for an image reverse search request. |
setMaxResultCount(int value) | Sets the maximum number of found images for an image reverse search request. |
getSearchDocumentFilter() | Gets the search document filter. |
setSearchDocumentFilter(ISearchDocumentFilter value) | Gets or sets the search document filter. |
getCore() |
ImageSearchOptions()
public ImageSearchOptions()
Initializes a new instance of the ImageSearchOptions class.
ImageSearchOptions(Object data)
public ImageSearchOptions(Object data)
Initializes a new instance of the ImageSearchOptions class.
Parameters:
Parameter | Type | Description |
---|---|---|
data | java.lang.Object | The serialized data. |
getHashDifferences()
public int getHashDifferences()
Gets the maximum number of mismatched bits in the image hash. The default value is 5 .
Returns: int - The maximum number of mismatched bits in the image hash.
setHashDifferences(int value)
public void setHashDifferences(int value)
Sets the maximum number of mismatched bits in the image hash. The default value is 5 .
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | The maximum number of mismatched bits in the image hash. |
getMaxResultCount()
public int getMaxResultCount()
Gets the maximum number of found images for an image reverse search request. The default value is 1000 .
Returns: int - The maximum number of found images for an image reverse search request.
setMaxResultCount(int value)
public void setMaxResultCount(int value)
Sets the maximum number of found images for an image reverse search request. The default value is 1000 .
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | The maximum number of found images for an image reverse search request. |
getSearchDocumentFilter()
public ISearchDocumentFilter getSearchDocumentFilter()
Gets the search document filter. SearchDocumentFilter works on the inclusion logic. Use GroupDocs.Search.Options.SearchDocumentFilter class for creation of a search document filter instances. The default value is null , which means that all found documents will be returned.
Returns: ISearchDocumentFilter - The search document filter.
setSearchDocumentFilter(ISearchDocumentFilter value)
public void setSearchDocumentFilter(ISearchDocumentFilter value)
Gets or sets the search document filter. SearchDocumentFilter works on the inclusion logic. Use GroupDocs.Search.Options.SearchDocumentFilter class for creation of a search document filter instances. The default value is null , which means that all found documents will be returned.
Parameters:
Parameter | Type | Description |
---|---|---|
value | ISearchDocumentFilter | The search document filter. |
getCore()
public Object getCore()
Returns: java.lang.Object