public abstract class FoundDocument extends Object
Learn more
| Constructor and Description |
|---|
FoundDocument() |
| Modifier and Type | Method and Description |
|---|---|
static FoundDocument |
deserialize(byte[] array)
Deserializes an instance from a byte array.
|
abstract String[] |
getAttributes()
Gets the attributes associated with the found document.
|
abstract DocumentInfo |
getDocumentInfo()
Gets the document info.
|
abstract FoundDocumentField[] |
getFoundFields()
Gets the document fields found.
|
abstract int |
getOccurrenceCount()
Gets the number of occurrences found.
|
abstract double |
getRelevance()
Gets the relevance of search result.
|
abstract String[] |
getTerms()
Gets the terms found.
|
abstract String[][] |
getTermSequences()
Gets the term sequences found.
|
abstract byte[] |
serialize()
Serializes the current instance to a byte array.
|
abstract String |
toString()
Returns string representation of the found document.
|
public static FoundDocument deserialize(byte[] array)
array - A byte array to deserialize from.public abstract String[] getAttributes()
public abstract DocumentInfo getDocumentInfo()
public abstract FoundDocumentField[] getFoundFields()
public abstract int getOccurrenceCount()
public abstract double getRelevance()
public abstract String[] getTerms()
public abstract String[][] getTermSequences()
public abstract byte[] serialize()
Copyright © 2026. All rights reserved.