couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <>
Subject [jira] Created: (COUCHDB-73) Updated the couchdb <-> external query server protocol to JSON
Date Thu, 29 May 2008 22:51:45 GMT
Updated the couchdb <-> external query server protocol to JSON

                 Key: COUCHDB-73
             Project: CouchDB
          Issue Type: New Feature
          Components: Full-Text Search
         Environment: branch/lucene-search
            Reporter: Paul Joseph Davis

I've written a patch that upgrades the FullTextSearchQueryServer protocol to json documents.

The patch also renames the FullTextSearchQueryServer variables to ExternalQueryServer so that
it's apparent that its not just limited to fulltext stuffs.

Also, couch_ft_query.erl has been renamed to couch_query.erl

DbUpdateNotification is not affected by this patch.

All parameters passed to are passed along to the query server
as a json document.

Query server responses are one of:

{ "status": "error", "message": "Failed cause its a full moon" }\n\n
{ "status": "ok", "results": [ { json obj }, { json obj }, .... ] }
json obj's are free form. No restrictions are made on them.

A response of any other form generates an error.

I move to rename the FullTextSearch engine stuffs around JIRA and the Wiki to say ExternalQueryServer.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message