Changeset 10149
- Timestamp:
- 12/01/10 19:29:42 (18 months ago)
- Location:
- trunk/KinoSearchContrib/lib/Foswiki/Contrib/KinoSearchContrib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/KinoSearchContrib/lib/Foswiki/Contrib/KinoSearchContrib/Index.pm
r7655 r10149 24 24 use KinoSearch::Analysis::PolyAnalyzer; 25 25 26 use Foswiki::Contrib::Stringifier Contrib;26 use Foswiki::Contrib::Stringifier (); 27 27 use strict; 28 28 … … 567 567 $filename = $1; 568 568 my $attText = 569 Foswiki::Contrib::Stringifier Contrib->stringFor(569 Foswiki::Contrib::Stringifier->stringFor( 570 570 $filename); 571 571 -
trunk/KinoSearchContrib/lib/Foswiki/Contrib/KinoSearchContrib/Search.pm
r8893 r10149 383 383 $revDate = $hit->{date}; 384 384 } 385 my $score = sprintf("%.2f", $hit->{score} * 100); 385 386 386 387 $tempVal =~ s/%WEB%/$resweb/go; 387 $tempVal =~ s/%SCORE%/ /go;388 $tempVal =~ s/%SCORE%/$score/go; 388 389 389 390 # field $name only is present if the hit is an attachment … … 401 402 $icon = ""; 402 403 # URL for the topic 403 $tempVal =~ s/%MATCH%/\[\[$resweb\.$restopic\]\ ]/go;404 $tempVal =~ s/%MATCH%/\[\[$resweb\.$restopic\]\[$restopic\]\]/go; 404 405 # if locks are to be displayed, then find it out for each hit 405 406 if ($showlock) {
Note: See TracChangeset
for help on using the changeset viewer.
