apachesolr.index.inc 文件中
约 889 行 原代码
// Adding the teaser
if (isset($node->teaser)) {
$document->teaser = apachesolr_clean_text($node->teaser);
}
else {
// If there is no node teaser we will have to generate the teaser
// ourselves. We have to be careful to not leak the author and other
// information that is normally also not visible.
if (isset($node->body[$language][0]['safe_summary'])) {