Show
Ignore:
Timestamp:
03/09/08 23:37:17 (7 months ago)
Author:
karpet
Message:

fix class names

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • perl/SWISH-Prog-Xapian/trunk/lib/SWISH/Prog/Xapian.pm

    r2064 r2072  
    44use strict; 
    55 
     6our $VERSION = '0.01'; 
     7 
    68=head1 NAME 
    79 
    8 SWISH::Prog::Xapian - The great new SWISH::Prog::Xapian! 
    9  
    10 =head1 VERSION 
    11  
    12 Version 0.01 
    13  
    14 =cut 
    15  
    16 our $VERSION = '0.01'; 
     10SWISH::Prog::Xapian - swish3 Xapian backend 
    1711 
    1812=head1 SYNOPSIS 
    1913 
    20 Quick summary of what the module does. 
    21  
    22 Perhaps a little code snippet. 
    23  
    24     use SWISH::Prog::Xapian; 
    25  
    26     my $foo = SWISH::Prog::Xapian->new(); 
    27     ... 
    28  
    29 =head1 EXPORT 
    30  
    31 A list of functions that can be exported.  You can delete this section 
    32 if you don't export anything, such as for a purely object-oriented module. 
    33  
    34 =head1 FUNCTIONS 
    35  
    36 =head2 function1 
    37  
    38 =cut 
    39  
    40 sub function1 { 
    41 
    42  
    43 =head2 function2 
    44  
    45 =cut 
    46  
    47 sub function2 { 
    48 
     14 TODO 
     15  
    4916 
    5017=head1 AUTHOR 
  • perl/SWISH-Prog-Xapian/trunk/lib/SWISH/Prog/Xapian/Indexer.pm

    r2064 r2072  
    1 package SWISH::Prog::Indexer::Xapian
     1package SWISH::Prog::Xapian::Indexer
    22use strict; 
    33use warnings; 
    44use base qw( SWISH::Prog::Indexer ); 
    55use Carp; 
    6 use SWISH::Prog::InvIndex::Xapian
     6use SWISH::Prog::Xapian::InvIndex
    77use Search::Xapian::Document; 
    88 
     
    1717 
    1818    # default index 
    19     $self->{invindex} ||= SWISH::Prog::InvIndex::Xapian->new; 
     19    $self->{invindex} ||= SWISH::Prog::Xapian::InvIndex->new; 
    2020 
    2121    if ( $self->{invindex} && !blessed( $self->{invindex} ) ) { 
    2222        $self->{invindex} 
    23             = SWISH::Prog::InvIndex::Xapian->new( path => $self->{invindex} ); 
     23            = SWISH::Prog::Xapian::InvIndex->new( path => $self->{invindex} ); 
    2424    } 
    2525 
    26     unless ( $self->invindex->isa('SWISH::Prog::InvIndex::Xapian') ) { 
     26    unless ( $self->invindex->isa('SWISH::Prog::Xapian::InvIndex') ) { 
    2727        croak ref($self) 
    28             . " requires SWISH::Prog::InvIndex::Xapian-derived object"; 
     28            . " requires SWISH::Prog::Xapian::InvIndex-derived object"; 
    2929    } 
    3030 
     
    4141# and words as 'posting' 
    4242# swishdescription could be saved as 'data' 
    43 # uri gets saved as 'term' (TODO why? does xapian use that as for unique id?
     43# uri gets saved as 'term' (xapian uses for unique id
    4444 
    4545# set_data() can be used to store whatever you want 
     
    5757# can take 'weight' as optional 3rd param 
    5858# we add twice so a word can be found 'naked' and with explicit metaname prefix 
    59  
    6059 
    6160sub _process_doc { 
  • perl/SWISH-Prog-Xapian/trunk/lib/SWISH/Prog/Xapian/InvIndex.pm

    r2064 r2072  
    1 package SWISH::Prog::InvIndex::Xapian
     1package SWISH::Prog::Xapian::InvIndex
    22use strict; 
    33use warnings;