Just uploaded several modules to CPAN that together implement a full REST API for KinoSearch indexes, using Search::OpenSearch::Server::Plack.
% curl -XPOST http://localhost:5000/foo \ -d ‘<doc><title>bar</title>foo</doc>’ \ -H ‘Content-Type: application/xml’ [response:] { “success”:1, “doc”:{ “orgs”:[], “places”:[], “people”:[], “topics”:[], “summary”:””, “title”:”bar”, “author”:[] }, “total”:”21581″, “code”:”200″ }
The modules are:
- Search::OpenSearch 0.11
- Search::OpenSearch::Server 0.05
- Search::OpenSearch::Engine::KSx 0.08
- SWISH::Prog::KSx 0.17
- SWSIH::Prog 0.49
Leave a Reply
You must be logged in to post a comment.