couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Driscoll (JIRA)" <>
Subject [jira] Created: (COUCHDB-995) Changes feed returns duplicate fields with include_docs=true
Date Wed, 22 Dec 2010 03:32:00 GMT
Changes feed returns duplicate fields with include_docs=true

                 Key: COUCHDB-995
             Project: CouchDB
          Issue Type: Bug
          Components: Full-Text Search, HTTP Interface
    Affects Versions: 1.0.1
         Environment: MacOSX with CouchDBX as well as homebrew couchdb 1.0.1
            Reporter: Luke Driscoll

I ran in to a problem, when using couchdb-lucene; but the problem is with couch itself.  I've
found this happening both on CouchDBX and couchdb 1.0.1 (through homebrew).

The problem is, if I update a document, and put in the same data each time, the data that
comes out of the changes feed has duplicate fields.  The call: 

is returning data like this:
				"name":"Some Org",
				"name":"Other Loc",
->		"patient_id":"patient_83",
->		"type":"encounter",
->		"patient_id":"patient_83",
->		"type":"encounter"

You'll notice that the patient_id field and the type field, are being duplicated on the data
return.  This is causing couchdb-lucene to baulk, but it's also just invalid json.


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

View raw message