use
5.008003;
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
our
$MAJOR_VERSION
= 0.006000;
BEGIN {
die
<<"EOF" if $Clownfish::MAJOR_VERSION > 0.006000;
This version of Lucy doesn't support Clownfish $Clownfish::MAJOR_VERSION or
higher. You should downgrade Clownfish or, if possible, upgrade Lucy.
EOF
}
BEGIN {
our
@EXPORT_OK
=
qw(
STORABLE_freeze
STORABLE_thaw
)
;
}
sub
dl_load_flags { 1 }
BEGIN {
our
@ISA
=
qw( DynaLoader )
;
bootstrap Lucy
'0.6.2'
;
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
BEGIN {
push
our
@ISA
,
'Exporter'
;
our
@EXPORT_OK
=
qw(
extract_gen
latest_snapshot
)
;
}
}
{
BEGIN {
our
@ISA
=
qw( Clownfish::Obj )
}
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
sub
_compile_token_re {
qr/$_[0]/
}
sub
new {
my
(
$either
,
%args
) =
@_
;
my
$token_re
=
delete
$args
{token_re};
$args
{pattern} =
"$token_re"
if
$token_re
;
return
$either
->_new(
%args
);
}
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
use
Lucy
qw( STORABLE_freeze STORABLE_thaw )
;
fallback
=> 1,
'%{}'
=> \
&get_fields
;
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
use
Lucy
qw( STORABLE_freeze STORABLE_thaw )
;
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
sub
new {
my
(
$either
,
%args
) =
@_
;
my
$flags
= 0;
$flags
|= CREATE
if
delete
$args
{
'create'
};
$flags
|= TRUNCATE
if
delete
$args
{
'truncate'
};
return
$either
->_new(
%args
,
flags
=>
$flags
);
}
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
sub
new {
confess(
"IndexReader is an abstract class; use open() instead of new()"
);
}
sub
lexicon {
my
$self
=
shift
;
my
$lex_reader
=
$self
->fetch(
"Lucy::Index::LexiconReader"
);
return
$lex_reader
->lexicon(
@_
)
if
$lex_reader
;
return
;
}
sub
posting_list {
my
$self
=
shift
;
my
$plist_reader
=
$self
->fetch(
"Lucy::Index::PostingListReader"
);
return
$plist_reader
->posting_list(
@_
)
if
$plist_reader
;
return
;
}
sub
offsets {
shift
->_offsets->to_arrayref }
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
use
Lucy
qw( STORABLE_freeze STORABLE_thaw )
;
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
use
Lucy
qw( STORABLE_freeze STORABLE_thaw )
;
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
sub
new {
my
(
$either
,
%args
) =
@_
;
if
( !
defined
$args
{boost} ) {
confess(
"'parent' is not a Query"
)
unless
( blessed(
$args
{parent} )
and
$args
{parent}->isa(
"Lucy::Search::Query"
) );
$args
{boost} =
$args
{parent}->get_boost;
}
return
$either
->do_new(
%args
);
}
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
use
Lucy
qw( STORABLE_freeze STORABLE_thaw )
;
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
use
Lucy
qw( STORABLE_freeze STORABLE_thaw )
;
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
use
Lucy
qw( STORABLE_freeze STORABLE_thaw )
;
my
%types
= (
field
=> FIELD(),
score
=> SCORE(),
doc_id
=> DOC_ID(),
);
sub
new {
my
(
$either
,
%args
) =
@_
;
my
$type
=
delete
$args
{type} ||
'field'
;
confess(
"Invalid type: '$type'"
)
unless
defined
$types
{
$type
};
return
$either
->_new(
%args
,
type
=>
$types
{
$type
} );
}
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
use
Lucy
qw( STORABLE_freeze STORABLE_thaw )
;
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
use
Lucy
qw( STORABLE_freeze STORABLE_thaw )
;
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
sub
to_arrayref {
shift
->to_array->to_arrayref }
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
BEGIN {
push
our
@ISA
,
'Exporter'
;
our
@EXPORT_OK
=
qw( build_fh_flags )
;
}
sub
build_fh_flags {
my
$args
=
shift
;
my
$flags
= 0;
$flags
|= FH_CREATE
if
delete
$args
->{create};
$flags
|= FH_READ_ONLY
if
delete
$args
->{read_only};
$flags
|= FH_WRITE_ONLY
if
delete
$args
->{write_only};
$flags
|= FH_EXCLUSIVE
if
delete
$args
->{exclusive};
return
$flags
;
}
sub
open
{
my
(
$either
,
%args
) =
@_
;
$args
{flags} ||= 0;
$args
{flags} |= build_fh_flags( \
%args
);
return
$either
->_open(
%args
);
}
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
sub
open
{
my
(
$either
,
%args
) =
@_
;
$args
{flags} ||= 0;
$args
{flags} |= Lucy::Store::FileHandle::build_fh_flags( \
%args
);
return
$either
->_open(
%args
);
}
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
sub
open
{
my
(
$either
,
%args
) =
@_
;
$args
{flags} ||= 0;
$args
{flags} |= Lucy::Store::FileHandle::build_fh_flags( \
%args
);
return
$either
->_open(
%args
);
}
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
BEGIN {
push
our
@ISA
,
'Exporter'
;
our
@EXPORT_OK
=
qw(
DEBUG
DEBUG_PRINT
DEBUG_ENABLED
ASSERT
set_env_cache
num_allocated
num_freed
num_globals
)
;
}
}
{
our
$VERSION
=
'0.006002'
;
$VERSION
=
eval
$VERSION
;
BEGIN {
push
our
@ISA
,
'Exporter'
;
our
@EXPORT_OK
=
qw(
utf8_flag_on
utf8_flag_off
to_base36
utf8ify
utf8_valid
cat_bytes
)
;
}
}
1;