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

Diff of /trunk/MWS_plucene.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9 by dpavlin, Thu May 6 07:32:24 2004 UTC revision 12 by dpavlin, Thu May 6 12:40:11 2004 UTC
# Line 26  sub search_index { Line 26  sub search_index {
26          return $self->{index}->search($s);          return $self->{index}->search($s);
27  }  }
28    
29    sub add_index {
30            my $self = shift;
31    
32            $self->{index}->add(@_);
33    }
34    
35    sub close_index {
36            my $self = shift;
37    
38            $self->{index}->optimize;
39    }
40    
41  1;  1;

Legend:
Removed from v.9  
changed lines
  Added in v.12

  ViewVC Help
Powered by ViewVC 1.1.26