Returns the content of the first snippet for the
matched result document as a convenience, especially for a raw
snippet that contains the entire result document.
Returns an array of match locations. Match
locations (and snippets) can be represented as Java objects or DOM
Documents, depending on the nature of the snippet and the
configuration of the SearchHandle. If they are DOM documents,
getMatchLocations() will return null and getSnippets() will return
the documents.
Returns an array of snippets. Match locations
(and snippets) can be represented as Java objects or DOM Documents,
depending on the nature of the snippet and the configuration of the
SearchHandle. If they are DOM documents, getMatchLocations() will
return null and getSnippets() will return the documents.
Reads the content of the first snippet for the
matched result document in the representation specified by the IO
class. This method provides particular convenience for a raw
snippet that contains the entire result document. The IO class must
have been registered before creating the database client. By
default, the provided handles that implement ContentHandle
are registered. Learn more
about shortcut methods
Type Parameters:
T - the type of object that will be returned by
the handle registered for it
Parameters:
as - the IO class for reading the first snippet
for the result
Returns:
an object of the IO class with the content of the document in
the first snippet
Returns the content of the first snippet for the
matched result document as a convenience, especially for a raw
snippet that contains the entire result document.
Type Parameters:
T - the type of XMLReadHandle to return
Parameters:
handle - An XML handle for reading the first
snippet.
Reads the metadata extracted from the matched
result document in the representation specified by the IO class.
The IO class must have been registered before creating the database
client. By default, the provided handles that implement ContentHandle
are registered. Learn more
about shortcut methods
Type Parameters:
T - the type of object that will be returned by
the handle registered for it
Parameters:
as - the IO class for reading the metadata for the
result
Returns:
an object of the IO class with the extracted result document
metadata