NAME

Dezi::Test::InvIndex - test in-memory invindex

METHODS

term_cache

Accessor for the term cache.

doc_cache

Accessor for the document cache.

open

Currently a no-op.

search($query)

Search the document cache with the given query and return a hash of the hits found.

put_doc($doc)

Add the given document to the document cache.

get_doc($uri)

Return the document from the given URI.

AUTHOR

Peter Karman, <karpet@dezi.org>

BUGS

Please report any bugs or feature requests to bug-dezi-app 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::App

You can also look for information at:

COPYRIGHT AND LICENSE

Copyright 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://dezi.org/, http://swish-e.org/, http://lucy.apache.org/