--- lib/Grep/Search.pm 2007/06/10 11:52:24 153 +++ lib/Grep/Search.pm 2007/07/04 09:58:06 169 @@ -103,7 +103,11 @@ next if (! defined($v) || $v eq ''); - $v =~ s/<[^>]+>/ /gs; + eval { $v =~ s/<[^>]+>/ /gs; }; + if ($@) { + Jifty->log->error("can't strip html from $c in item ", $i->id); + next; + } if ( defined( $pk->{$c} ) ) { $doc->{ $c } = $v; @@ -274,8 +278,8 @@ summary => 'KinoSearch::Schema::FieldSpec', category => 'KinoSearch::Schema::FieldSpec', author => 'KinoSearch::Schema::FieldSpec', - issued => 'Grep::Search::KeywordField', - modified => 'Grep::Search::KeywordField', + created_on => 'Grep::Search::KeywordField', + last_update => 'Grep::Search::KeywordField', _owner_id => 'Grep::Search::KeywordField', );