example for kinosearch external process
[angular-mojolicious.git] / README
diff --git a/README b/README
index 0f3ace6..45493f5 100644 (file)
--- a/README
+++ b/README
@@ -87,6 +87,15 @@ CouchDB examples:
        $ curl -X PUT http://localhost:5984/trigger_demo/t1 -d '{"trigger":{"command":"notify-send CouchDB t1"}}'
 
 
+       couchdb-external-kinosearch.pl - external searcher for KinoSearch indexes
+               (configuration for CouchDB is included at end of file)
+
+       $ ./couchdb-trigger.pl http://localhost:5984/trigger_demo trigger/KinoSearch.pm
+
+       $ curl 'http://localhost:5984/trigger_demo/_kinosearch?include_docs=true;q=foobar'
+
+
+
 Roadmap:
 
 + implement angular-server.pl which implements REST API supported by $resource in angular