A single highlighted fragment of a document's content, showing where a search query matched. Held on a DocItem's list of paragraphs, one per matching fragment returned by the search engine's highlighting.

Implements: Serializable


Properties

PropertyReturnsDescription
contentStringHighlighted fragment of text from the document's content, showing where the search terms matched.
idStringIdentifier of this paragraph, derived from the owning document's id plus its position among the highlighted fragments.
orderDoublePosition of this paragraph among the highlighted fragments for its document, starting at zero.

Methods

getId()

Returns: String

Identifier of this paragraph, derived from the owning document's id plus its position among the highlighted fragments.

getContent()

Returns: String

Highlighted fragment of text from the document's content, showing where the search terms matched.

getOrder()

Returns: Double

Position of this paragraph among the highlighted fragments for its document, starting at zero.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.