Apply a sequence of updates (update
parameter) to this graph for a corpus given by the corpus_name
parameter.
Return the copy of the graph of the corpus structure given by corpus_name
.
Count the number of results for a query
.
Count the number of results for a query
and return both the total number of matches and also the number of documents in the result set.
Delete a corpus from this corpus storage.
Returns true
if the corpus was successfully deleted and false
if no such corpus existed.
Export a corpus to an external location on the file system using the given format.
Find all results for a query
and return the match ID for each result.
Frees the reference to the corpus storage object.
Execute a frequency query.
Import a corpus from an external location on the file system into this corpus storage.
List all available corpora in the corpus storage.
Returns a list of all components of a corpus given by corpus_name
and the component type.
Returns a list of all edge annotations of a corpus given by corpus_name
and the component.
Returns a list of all node annotations of a corpus given by corpus_name
.
Parses a query
and return a list of descriptions for its nodes.
Return the copy of a subgraph which includes all nodes that belong to any of the given list of sub-corpus/document identifiers.
Return the copy of a subgraph which includes the given list of node annotation identifiers,
the nodes that cover the same token as the given nodes and
all nodes that cover the token which are part of the defined context.
Return the copy of a subgraph which includes all nodes matched by the given query
.
Return the copy of a subgraph which includes all nodes matched by the given query
and an additional filter.
Unloads a corpus from the cache.
Parses a query
and checks if it is valid.
Create a new instance with a an automatic determined size of the internal corpus cache.
Create a new corpus storage with an manually defined maximum cache size.