theme

Purpose

Finds documents of the specified topic or words and phrases in these documents. The topics come from the "Text Topics" node, so it is necessary to have it as a parent node.

Syntax

theme(topic[, term,…])

Arguments

The argument topic specifies the target topic. The full list of topics is available in the "Text Topics" node. The second optional argument term defines the words or phrases to search for. If the term is not specified, the function returns documents of the specified topic.

Returned Value

Documents matching the query.

Examples

theme(food) matches all documents with the topic "food";

theme(food, milk) matches all occurrences of "milk" in the documents with the topic "food";

theme(food, "soft drink") matches all occurrences of "soft drink" in the documents with the topic "food";

theme(food|chemistry) matches all documents with the topics "food" or "chemistry".