Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Hideki Itakura
    @hideki
    Hi @csudarshan07,
    could you please report the issue for CBL Java to https://github.com/couchbase/couchbase-lite-java/issues?
    Alex Reisberg
    @a-reisberg

    In
    http://developer.couchbase.com/documentation/mobile/1.3/develop/guides/couchbase-lite/native-api/database/index.html,
    I found the following line

    dependencies {
        compile 'com.couchbase.lite:couchbase-lite-android:+'
        compile 'com.couchbase.lite:couchbase-lite-java-forestdb:+'
    }

    the second line should be

    compile 'com.couchbase.lite:couchbase-lite-android-forestdb:+'

    (replace java by android)

    Also, quick question:
    is the value returned by the reduce function cached as well?
    Or is it just the map that does that
    Hideki Itakura
    @hideki
    @a-reisberg , Indexed data, which is created by map function, is stored in the db. But return values from both map and reduce functions are not stored in the db.
    James Nocentini
    @jamiltz
    @a-reisberg There's an Edit on GitHub of the page (https://cl.ly/372s3S2V3d0F/Pasted_Image_06_09_2016__15_40.png). A PR to update this part of the docs would be much appreciated. You can edit right on github so no need to clone the repo! Cheers
    Alex Reisberg
    @a-reisberg
    @hideki Thanks!
    @jamiltz Pull request made
    James Nocentini
    @jamiltz
    Nice one thanks!
    Alex Reisberg
    @a-reisberg
    :+1:
    reuelkb
    @reuelkb
    Hello, I was curious what version of Xamarin is targeted by CouchbaseLite.NET 1.2?
    Jim Borden
    @borrrden
    @reuelkb I just realized there is no room for .NET so I created one, can you move there with your question?
    Alex Reisberg
    @a-reisberg
    First version of Typebase lite (functional, type-safe wrapper for Couchbase lite on the Jvm and Android) has been released on Maven :)
    https://github.com/a-reisberg/typebase-lite/releases
    Feedback is welcome!!!
    K.I. (Dennis) Jung
    @kination
    Hello~just joined!
    I think there are some problem in my settings...
    Error:Execution failed for task ':libraries:couchbase-lite-java-forestdb:buildNative'.
    > A problem occurred starting process 'command 'null/ndk-build''
    Information:BUILD FAILED
    Information:Total time: 7.47 secs
    Information:1 error
    Information:0 warnings
    Information:See complete output in console
    Is there something I missed?
    Rafal Woloszyn
    @rwoloszyn
    probably you dont have NDK downloaded into your local storage
    K.I. (Dennis) Jung
    @kination
    @rwoloszyn Thanks!
    Matěj Trakal
    @mtrakal
    Hi all, we use CBL 1.4 and use query with postFilter, is there some better way, how to filter data? Result is just few documents (0-3 +-), but we must iterate over all data. This query on highend device spend with our data about 15s it's unusable. https://gist.github.com/mtrakal/a05ca0021bed224bad64f98baced412b
    Gianni Fioretta
    @g41n
    Hello to all
    I've noticed that if I have the LiteListener active and I try to connect to a server the LiteListener stops... is that correct? Can I have a couchbase lite accepting connections and connected to a sync at the same time?
    Szabolcs Kelemen
    @SzabKel
    Hoy, I just found CB Lite while searching for embedded databases. Could anyone tell me if cb-lite is any good for my use case? I mainly searched for a simple SQLite like NoSQL database, which I could just distribute with my application for easier setup. I read that cbl is mainly for apps that use sync gateway, but I would not use any of that, mine would just use it as a database, but would write and read constantly a lot of entries (1000-10 000 entry inserts could happen, how good is bulk inserting?)
    Szabolcs Kelemen
    @SzabKel
    What I really don't know how well it can handle big, batch inserts. I am trying to build a Job Queue with it and new queue entries will be inserted in bulk (~1k batches for example) and could easily have 1.6m-3m entries at a time. Also another thing is it needs to de duplicate based on a hash (in SQL DBs I used a hash for my primary key and all the inserts were done with "insert ignore" manner)
    Awasum Yannick
    @awasum
    Hello, I want to use Couchbase lite android client to store data offline which will be synchronized with my backend server(REST API, not Couchbase Server). Is this a use case which some one here has tried?
    bluetoothfx
    @bluetoothfx
    Hello
    I am new to couchbase. I have a question in mind that what will happen if an android user create a lot of document with Replication setContinuous(true). Is there any server load / mobile use a lot of memory to keep track or what ? Is there anything like that I can turn off replication for specific document? Please share any doc or focus some light any1 please. P.S: I am new to this world. :)
    Traun Leyden
    @tleyden
    NOTICE!
    NOTICE!
    NOTICE!
    I'm going to delete this room and move the conversation to https://gitter.im/couchbase/discuss in one week unless I hear any strong objections
    (reason: the gitter stuff was split up too much a bit too early, and very few couchbasers are using gitter at the moment)
    @bluetoothfx you can use channel based replication, as well as specifying specific doc ids to replicate
    @awasum we only support replicating to Sync Gateway and (unofficially) CouchDB backend API's.
    @SzabKel yes, it seems like a good use case, but you'd want to do your own performance benchmarking. I would check out couchbase lite 2.0 which has a lot of performance enhancements
    Leonard Maximus Irenous Mensah
    @leomaxi
    What is the best way to communicate between android and CouchDB 2.1
    Fahim Shariar Shoumik
    @sh0umik
    Hello EveryOne I have been developing a Flutter Couchbase Lite Plugin and Got an Error During the Integration
    E/DB (21686): Cannot load native library E/zygote64(21686): No implementation found for void com.couchbase.litecore.C4Log.setLevel(java.lang.String, int) (tried Java_com_couchbase_litecore_C4Log_setLevel and Java_com_couchbase_litecore_C4Log_setLevel__Ljava_lang_String_2I) F/flutter (21686): [FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(60)] Check failed: CheckException(env).
    @tleyden any clue ? I have searched the issue and found some problems like that closed year ago , However I have seen the same error in native android if i just init the database , no mutation no queries !! An if i do them then upon reload the error message disappear , never comes back !!
    I am using implementation 'com.couchbase.lite:couchbase-lite-android:2.0.0'
    Hod Greeley
    @HodGreeley
    @sh0umik sorry, don't monitor gitter that often. Did you get this worked out?
    I've heard of that kind of issue coming from build misconfiguration such that the library doesn't get bundled in the final apk.
    Arshpreet Singh
    @arshpreetsingh
    We have Couchbase Cluster running with 10 NOdes, Without stopping any node Can we make Rebalance- True for Couchbase.
    Surendra Singh Khatana
    @surensinghkhatana
    Hi All, I am very new to couchbase. Can anyone please help in getting around with the issue of connecting couchbase from Java , details here : https://forums.couchbase.com/t/connecting-to-couchbase-running-in-a-kubernetes-cluster-aws-eks/24677? Thanks
    Mayur Bhatt
    @go4mayur_twitter

    Hi Everyone,

    I need help with my nodejs script to import large CSV file into ibm cloudant database, with csvtojson package i managed to iterate over all the CSV rows and convert those to JSON object, but when i am trying to make GET requests in a loop for each CSV row unique id check, after some of the GET requests like about 1000 requests script ends up with memory heap related error: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory, Can anyone please help me with that, the data i am trying to import is 1.3 million records using CSV file uploaded on AWS s3 bucket.

    Any help will be much appreciated.

    Thanks in advance.

    pritamv73
    @pritamv73
    Hi guys, I want to use case insensitive in my custom query. any suggesations ??
    @Query("#{#n1ql.selectEntity} where #{#n1ql.filter} AND subjectName LIKE '%' ||$1|| '%' ")
    Subject searchSubjectByName(String searchVal);
    My query is something like this.
    ksgr999
    @ksgr999
    Hi Guys, Any idea on creation of index though spring-data-couchbase? I have created index but findAll() method is failing with index not created.
    Shraman Das
    @Shrman007658
    Hey Team :D Our DBA says that they have disabled querying in a couchbase bucket. I want to extract a specific document from the bucket, a random one would work too. without using N1QL or the doucment ID(because I wouldnt know the document ID). Is it possible to do that using the JAVA SDK? 2.7
    Vivek Gupta
    @vivekgupta8983

    Hi All,

    I am getting error while connecting coucbase cluster 6.6.0 to Jhister application can anyone help me below the logs

    2021-09-27 15:40:05.335 WARN 1 --- [ cb-io-1-1] c.c.client.core.endpoint.Endpoint : [couchbase-db-couchbase-cluster-0000.couchbase-db-couchbase-cluster.couchbase.svc.cluster.local:11210][KeyValueEndpoint]: Authentication Failure: Authentication Failure
    2021-09-27 15:40:05.579 WARN 1 --- [ restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authenticatedSuccessListener' defined in file [/app/classes/fr/dappit/kalisseo/api/listeners/AuthenticatedSuccessListener.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'customerServiceImpl' defined in file [/app/classes/fr/dappit/kalisseo/api/service/impl/CustomerServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.data.couchbase.SpringBootCouchbaseDataConfiguration': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.autoconfigure.data.couchbase.SpringBootCouchbaseDataConfigurationEnhancerBySpringCGLIBEnhancerBySpringCGLIB905c56c5]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springBootCouchbaseConfigurer' defined in class path resource [org/springframework/boot/autoconfigure/data/couchbase/CouchbaseConfigurerAdapterConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.couchbase.config.CouchbaseConfigurer]: Factory method 'springBootCouchbaseConfigurer' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'couchbaseClient' defined in class path resource [org/springframework/boot/autoconfigure/couchbase/CouchbaseConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.couchbase.client.java.Bucket]: Factory method 'couchbaseClient' threw exception; nested exception is com.couchbase.client.java.error.InvalidPasswordException: Passwords for bucket "kalisseo" do not match.
    2021-09-27 15:40:05.733 ERROR 1 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed
    you can also see complete log of pods in http://pastie.org/p/529ihT4PlYDPrU2sL9dTqR here