[ 
https://issues.apache.org/jira/browse/SOLR-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14148183#comment-14148183
 ] 

Varun edited comment on SOLR-6266 at 9/25/14 7:26 PM:
------------------------------------------------------

Andrzej,
 In your setup have you tried partial update ? Lets say you have 10 docs in 
couchbase, and change one of them, does solr again get all 10 again, or just 
the changed one from couchbase?
Seems in your bulkDocs method you are always returning empty result list. 
Shouldn't solr index and return latest revision number of documents, to let 
couchbase know what revision solr already have ?


was (Author: varuniiit):
Andrzej,
 In your setup have tried partial update ? If you have 10 docs in couchbase, 
and change onr of them, does solr again get all 10, or just the changed one ?
Seems in your bulkDocs method you are always returning empty result list. 
Shouldn't solr index and return latest revision number of documents, to let 
couchbase know what revision solr already have ?

> Couchbase plug-in for Solr
> --------------------------
>
>                 Key: SOLR-6266
>                 URL: https://issues.apache.org/jira/browse/SOLR-6266
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Varun
>            Assignee: Joel Bernstein
>         Attachments: solr-couchbase-plugin.tar.gz, 
> solr-couchbase-plugin.tar.gz
>
>
> It would be great if users could connect Couchbase and Solr so that updates 
> to Couchbase can automatically flow to Solr. Couchbase provides some very 
> nice API's which allow applications to mimic the behavior of a Couchbase 
> server so that it can receive updates via Couchbase's normal cross data 
> center replication (XDCR).
> One possible design for this is to create a CouchbaseLoader that extends 
> ContentStreamLoader. This new loader would embed the couchbase api's that 
> listen for incoming updates from couchbase, then marshal the couchbase 
> updates into the normal Solr update process. 
> Instead of marshaling couchbase updates into the normal Solr update process, 
> we could also embed a SolrJ client to relay the request through the http 
> interfaces. This may be necessary if we have to handle mapping couchbase 
> "buckets" to Solr collections on the Solr side. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to