FragmentContainer
Leave feedback
On this page
Inheritance: java.lang.Object
public abstract class FragmentContainer
Represents a container for text fragments with highlighted found terms of one document field.
Learn more
| Constructor | Description |
|---|---|
| FragmentContainer() |
| Method | Description |
|---|---|
| getFieldName() | Gets the document field name. |
| getCount() | Gets the number of contained text fragments. |
| getFragments() | Gets an array of contained text fragments. |
public FragmentContainer()
public abstract String getFieldName()
Gets the document field name.
Returns: java.lang.String - The document field name.
public abstract int getCount()
Gets the number of contained text fragments.
Returns: int - The number of contained text fragments.
public abstract String[] getFragments()
Gets an array of contained text fragments.
Returns: java.lang.String[] - An array of contained text fragments.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.