|
Generate an abstract. The syntax is
abstract(text[, maxsize[, style[, query]]])
This function will produce an abstract of the supplied text. It takes
between 1 and 4 parameters. The first parameter is the text to
abstract. The second parameter is the maximum size of the abstract.
The default is 230 characters, which can also be given as 0. The third
and fourth arguments are used to control the behaviour of the
abstractor. The fourth argument is an optional query, which if
supplied will cause the engine to center on the best match for the
specified query. The third argument is used if there is no query, and
specifies whether to start the abstract at the beginning of the
document, with a value of zero, or the default value of 1 which will be
smarter in most cases about where to start.
SELECT abstract(STORY, 0, 1, 'power struggle')
FROM ARTICLES
WHERE ARTID = 'JT09115' ;
Copyright © Thunderstone Software Last updated: Wed Aug 6 10:57:07 EDT 2008
|