public abstract class Searcher extends Object
| Constructor and Description |
|---|
Searcher() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
getDocumentText(NetworkDocumentInfo documentInfo,
OutputAdapter adapter)
Generates the text of an indexed document and passes it through an output adapter.
|
abstract NetworkDocumentInfo[] |
getIndexedDocumentItems(NetworkDocumentInfo documentInfo)
Gets an array of nested items of the specified document (for container documents such as ZIP, OST, PST).
|
abstract NetworkDocumentInfo[] |
getIndexedDocuments(int shardIndex)
Gets an array of all indexed documents.
|
abstract void |
highlight(NetworkFoundDocument document,
Highlighter highlighter,
HighlightOptions options)
Generates HTML formatted text with highlighted found terms.
|
abstract NetworkImageSearchResult |
searchFirst(SearchImage image,
ImageSearchOptions options)
Performs a reverse image search in the distributed search index.
|
abstract NetworkSearchResult |
searchFirst(SearchQuery query,
SearchOptions options)
Starts a search in the distributed search index.
|
abstract NetworkSearchResult |
searchFirst(String query,
SearchOptions options)
Starts a search with a query in text form in the distributed search index.
|
abstract NetworkImageSearchResult |
searchNext(NetworkImageSearchToken networkImageSearchToken)
Continues a reverse image search in the distributed search index.
|
abstract NetworkSearchResult |
searchNext(NetworkSearchToken networkSearchToken)
Continues a search in the distributed search index.
|
public abstract void getDocumentText(NetworkDocumentInfo documentInfo, OutputAdapter adapter)
documentInfo - The indexed document info.adapter - The output adapter.public abstract NetworkDocumentInfo[] getIndexedDocumentItems(NetworkDocumentInfo documentInfo)
documentInfo - The document info.public abstract NetworkDocumentInfo[] getIndexedDocuments(int shardIndex)
shardIndex - The shard index.public abstract void highlight(NetworkFoundDocument document, Highlighter highlighter, HighlightOptions options)
document - The found document.highlighter - The search result highlighter.options - The highlight options.public abstract NetworkImageSearchResult searchFirst(SearchImage image, ImageSearchOptions options)
image - The image to search.options - The image search options.public abstract NetworkSearchResult searchFirst(SearchQuery query, SearchOptions options)
query - The search query.options - The search options.public abstract NetworkSearchResult searchFirst(String query, SearchOptions options)
query - The search query.options - The search options.public abstract NetworkImageSearchResult searchNext(NetworkImageSearchToken networkImageSearchToken)
networkImageSearchToken - The network image search token.public abstract NetworkSearchResult searchNext(NetworkSearchToken networkSearchToken)
networkSearchToken - The network search token.Copyright © 2026. All rights reserved.