SECO::Index - Build Search Index
use SECO::Index; my $index = SECO::Index->new ( version => $version, dc => 'zzbc' hdfs => 'hdfs/path', repo => 'repo/path' );
/home/$USER/cdx/ $version/$dbid/ src/$ts.$id.{full,incr,rank}.$count/ dst/$ts.$id.data.$version.$dbid/ e.g. /home/cloudops/cdx/v0004/0038/src/2013010320220319.00232.incr.03193 /home/cloudops/cdx/v0004/0038/dst/2013010320220319.00248.data.v0004.0038
/home/$USER/ytt/ data/ -> $ts.$id.data.$version.$dbid Transdata/ -> /home/$USER/ytt e.g. /home/search/data => /home/search/2013010320220319.00248.data.v0004.0038 /home/search/2013010320220319.00248.data.v0004.0038/Transdata => /home/search/data
CDX version, v0001 .. v9999
Number of files in director, 00000 .. 99999
Timestamp, 2013010320220319
Increment ID, 00001 .. 99999
Database ID, 0001 .. 0400
set up links and file list
get id section of $name
To install pantheon, copy and paste the appropriate command in to your terminal.
cpanm
cpanm pantheon
CPAN shell
perl -MCPAN -e shell install pantheon
For more information on module installation, please visit the detailed CPAN module installation guide.