Dezi - REST search platform
Start the Dezi server, listening on port 5000:
% dezi -p 5000
Add a document foo to the index:
% curl http://localhost:5000/index/foo -XPOST \ -d '<doc><title>bar</title>hello world</doc>' \ -H 'Content-Type: application/xml'
Search the index for bar:
% curl 'http://localhost:5000/search?q=bar&t=JSON' % curl 'http://localhost:5000/search?q=bar&t=XML'
Read the usage statement:
% dezi -h
Dezi integrates several CPAN search libraries into one easy-to-use interface.
This document is a placeholder for the namespace and documentation only. You should read:
<karman at cpan.org>
Many of the code ideas in Dezi were developed while working on search-related projects for the Public Insight Network at American Public Media. http://www.publicinsightnetwork.org.
Please report any bugs or feature requests to
bug-dezi at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dezi. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
#dezisearch at freenode
Copyright 2011 Peter Karman.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.