Hi Jan,
On Tue, Jul 7, 2020 at 10:30 PM Jan Lehnardt <[email protected]> wrote: > Hi Sharath, > > > On 7. Jul 2020, at 14:17, Sharath <[email protected]> wrote: > > > > Hi, > > > > Got couchdb 3.1 running and migrated my database (replicated) over. > > > > Read about partitioning and have the following questions: > > > > Can a partitioned database be created when replicating from another > couchdb > > instance? > > Do you mean with the `create_target: true` option? Probably not, but you > can > create the database yourself as partitioned and then replicate over. > I meant: 1. create a database 2. set partitioned=true for new database 3. replicate from existing database When performing (3), the _id of the document will not have the partition name. As replication is merely a copy of the document. So, is there way to populate the partition name during replication?
