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

Paul Joseph Davis updated COUCHDB-73:
-------------------------------------

    Attachment: external_query_server.diff

> 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.

Reply via email to