Dezi-App
view release on metacpan or search on metacpan
lib/Dezi/Indexer/Config.pm view on Meta::CPAN
package Dezi::Indexer::Config;
use Moose;
with 'Dezi::Role';
use Types::Standard qw( Str HashRef );
use MooseX::Types::Path::Class;
use Carp;
use Config::General;
use Data::Dump qw( dump );
use File::Temp ();
use Search::Tools::XML;
use Search::Tools::UTF8;
use Dezi::Utils;
use File::Spec;
use Path::Class::File;
use SWISH::3;
use overload(
'""' => \&stringify,
bool => sub {1},
fallback => 1,
);
use namespace::autoclean;
our $VERSION = '0.016';
# only a few explicitly named attributes.
# everything else is through AUTOLOAD.
has '_orig_args' => ( is => 'ro', isa => HashRef, default => sub { {} } );
has 'file' => ( is => 'rw', isa => 'Path::Class::File', coerce => 1, );
has 'swish3_config' => ( is => 'ro', isa => Str );
my $XML = Search::Tools::XML->new;
my %ReservedFieldNames = map { $_ => 1 } qw(uri title summary mtime);
my %unique = map { $_ => 1 } qw(
MetaNames
PropertyNames
PropertyNamesNoStripChars
IncludeConfigFile
);
my %takes_single_value = map { $_ => 1 } qw(
IndexFile
FuzzyIndexingMode
);
my @Opts = qw(
AbsoluteLinks
BeginCharacters
BumpPositionCounterCharacters
Buzzwords
CascadeMetaContext
ConvertHTMLEntities
DefaultContents
Delay
DontBumpPositionOnEndTags
DontBumpPositionOnStartTags
EnableAltSearchSyntax
EndCharacters
EquivalentServer
ExtractPath
FileFilter
FileFilterMatch
FileInfoCompression
FileMatch
FileRules
FollowSymLinks
FollowXInclude
FuzzyIndexingMode
HTMLLinksMetaName
IgnoreFirstChar
IgnoreLastChar
IgnoreLimit
IgnoreMetaTags
IgnoreNumberChars
IgnoreTotalWordCountWhenRanking
IgnoreWords
ImageLinksMetaName
IncludeConfigFile
IndexAdmin
IndexAltTagMetaName
IndexComments
IndexContents
IndexDescription
IndexDir
IndexFile
IndexName
( run in 2.153 seconds using v1.01-cache-2.11-cpan-75ffa21a3d4 )