I never tested that kind of doc (unamed arrays) and I think it might be your 
issue.

Could you test indexing a single doc without couchbase and see if issue comes 
from here?

Also you didn't mention which versions you are using (es, couchbase plugin)

--
David ;-)
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

> Le 12 mars 2014 à 22:49, Joshua Dixon <dixonj0...@gmail.com> a écrit :
> 
> Hello there, I'm having an issue with my Elasticsearch replication of my 
> Couchbase DB. 
> 
> Certain documents in my DB are not being replicated correctly. Rather than 
> replicating as full couchbase documents, there is an entry with _type of 
> couchbaseCheckpoint pointing to certain documents. These checkpoints never 
> seem to update or grab the documents correctly, even after a refresh. This 
> seems to occur at random, with some documents replicating correctly and being 
> stored as full couchbaseDocuments, while others stay as these checkpoints. 
> I'm not seeing any errors related to this in my logs at all.
> 
> I'm not sure if it matters, but my document structure is a little odd. My 
> code is working with 4 primary objects which are being placed into a wrapper 
> object before being stored in the database. So, each couchbase document 
> represents one of these wrappers with an entity field which represents my 
> primary object. The entity field of a given wrapper is ambiguous as to which 
> kind of object it contains, however there is another field in the wrapper 
> which indicates the object type. A typical document will look like this:
> {
>     "Datafield":"Somedata
>     "JSONType":"Sometype",
>     "Entity": {
>              [Primary object specific fields here]
>      }
> }
> 
> Would the ambiguous fields in the Entity object be causing problems with 
> Elasticsearch? If not, why is my Elasticsearch not properly replicating these 
> documents?
> -- 
> You received this message because you are subscribed to the Google Groups 
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to elasticsearch+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elasticsearch/edc96b90-c6b3-40ac-b8e0-af85b16b0561%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/59C5256B-85D5-4855-9959-5DD3056A1C28%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to