Package | Description |
---|---|
com.groupdocs.search |
The package provides classes for indexing and searching text data in documents of different formats.
|
com.groupdocs.search.results |
The package provides search result classes.
|
Modifier and Type | Method and Description |
---|---|
void |
Index.highlight(FoundDocument document,
Highlighter highlighter)
Generates HTML formatted text with highlighted found terms.
|
void |
Index.highlight(FoundDocument document,
Highlighter highlighter,
HighlightOptions options)
Generates HTML formatted text with highlighted found terms.
|
Modifier and Type | Method and Description |
---|---|
protected static FoundDocument |
FoundDocument.create(DocumentInfo documentInfo,
double relevance,
int occurrenceCount,
FoundDocumentField[] detailedResults,
String[][] termSequences,
boolean isCaseSensitive) |
FoundDocument |
SearchResult.getFoundDocument(int index)
Gets the found document by index.
|
protected static FoundDocument |
DocumentInfo.toFoundDocument(DocumentInfo info) |
Modifier and Type | Method and Description |
---|---|
Iterator<FoundDocument> |
SearchResult.iterator()
Returns an iterator that iterates through the collection of the documents found.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
FoundDocument.adjustRelevance(FoundDocument foundDocument,
double additionalRelevance) |
protected static SearchResult |
SearchResult.create(FoundDocument[] documents,
boolean truncated,
String warnings,
ChunkSearchToken nextChunkSearchToken,
boolean ignoreLicenseRestrictions) |
protected static boolean |
FoundDocument.isCaseSensitive(FoundDocument foundDocument) |
Constructor and Description |
---|
SearchResult(FoundDocument[] documents,
boolean truncated,
String warnings,
ChunkSearchToken nextChunkSearchToken,
boolean ignoreLicenseRestrictions)
Initializes a new instance of the
SearchResult class. |