103 |
|
|
104 |
next if (! defined($v) || $v eq ''); |
next if (! defined($v) || $v eq ''); |
105 |
|
|
106 |
$v =~ s/<[^>]+>/ /gs; |
eval { $v =~ s/<[^>]+>/ /gs; }; |
107 |
|
if ($@) { |
108 |
|
Jifty->log->error("can't strip html from $c in item ", $i->id); |
109 |
|
next; |
110 |
|
} |
111 |
|
|
112 |
if ( defined( $pk->{$c} ) ) { |
if ( defined( $pk->{$c} ) ) { |
113 |
$doc->{ $c } = $v; |
$doc->{ $c } = $v; |
278 |
summary => 'KinoSearch::Schema::FieldSpec', |
summary => 'KinoSearch::Schema::FieldSpec', |
279 |
category => 'KinoSearch::Schema::FieldSpec', |
category => 'KinoSearch::Schema::FieldSpec', |
280 |
author => 'KinoSearch::Schema::FieldSpec', |
author => 'KinoSearch::Schema::FieldSpec', |
281 |
issued => 'Grep::Search::KeywordField', |
created_on => 'Grep::Search::KeywordField', |
282 |
modified => 'Grep::Search::KeywordField', |
last_update => 'Grep::Search::KeywordField', |
283 |
|
|
284 |
_owner_id => 'Grep::Search::KeywordField', |
_owner_id => 'Grep::Search::KeywordField', |
285 |
); |
); |