textpart

Purpose

Finds documents containing text fragments without regard to sentence boundaries.

Syntax

textpart("text")

textpart([text])

Arguments

The function takes any text enclosed in quotes or square brackets as the only argument. In the first case, the query will be found in all forms, in the second case only the exact match of the query will be found. In both cases, the search is carried out without regard to the sentence boundaries.

Returned Value

Documents matching the query.

Examples

textpart("lead discovery. Lead generation") matches "An integrated overview of modern approaches to lead discovery Lead generation is increasingly seen as a distinct and success-determining phase of the drug discovery process".

textpart([said. Officials]) matches "Foreign exchange reserves are becoming a problem, government officials said. Officials show the latest level compares with the previous record".

textpart("Convention Center") matches "Convention Center in Hartford".

Note

Since the last text fragment is within one sentence, it may be found enclosing the query in quotation marks, i.e. "Convention Center" or using the function phrase(): phrase(convention, center).