You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Paul Joseph Davis (JIRA)" <ji...@apache.org> on 2008/06/05 01:07:45 UTC

[jira] Closed: (COUCHDB-73) Updated the couchdb <-> external query server protocol to JSON

     [ https://issues.apache.org/jira/browse/COUCHDB-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Joseph Davis closed COUCHDB-73.
------------------------------------

    Resolution: Won't Fix

This issue is superceded by issue 74
https://issues.apache.org/jira/browse/COUCHDB-74

> Updated the couchdb <-> external query server protocol to JSON
> --------------------------------------------------------------
>
>                 Key: COUCHDB-73
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-73
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Full-Text Search
>         Environment: branch/lucene-search
>            Reporter: Paul Joseph Davis
>         Attachments: external_query_server.diff
>
>
> 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 http://example.com/dbname/_search 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
> or
> { "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.