NAME

Dezi::Test::Indexer - test indexer class

SYNOPSIS

use Dezi::Test::Indexer;

my $spider = Dezi::Aggregator::Spider->new(
   indexer => Dezi::Test::Indexer->new()
);
$spider->crawl('http://localhost/foo');

DESCRIPTION

Dezi::Test::Indexer uses Dezi::Test::InvIndex for running tests on the API, particularly Aggregator classes.

CONSTANTS

All the SWISH::3 constants are imported into this namespace, including:

  • SWISH_DOC_PROP_MAP

METHODS

process( doc )

Tokenizes content in doc and adds each term to the InvIndex.

swish3_handler

Called by SWISH::3 handler() function.

use_swish3_tokenizer

Returns true.

invindex_class

Returns Dezi::Test::InvIndex.

AUTHOR

Peter Karman, <perl@peknet.com>

BUGS

Please report any bugs or feature requests to bug-swish-prog at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dezi-App. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Dezi

You can also look for information at:

COPYRIGHT AND LICENSE

Copyright 2008-2018 by Peter Karman

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

http://swish-e.org/