/[mws]/trunk/search.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/search.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations)
Mon May 3 21:28:46 2004 UTC (19 years, 11 months ago) by dpavlin
File MIME type: text/plain
File size: 287 byte(s)
move search into package

1 #!/usr/bin/perl -w
2
3 use Plucene::Simple;
4 use Mail::Box::Manager;
5 use Data::Dumper;
6 use MWS
7
8 my $debug = 1;
9
10 my $mws = MWS->new('index');
11
12 my $s=join(" ",@ARGV);
13
14 my $results = $mws->search($s);
15 print "$results results...\n";
16
17 while (my $r = $mws->fetch_result()) {
18 print Dumper($r);
19
20 }

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.26