Shareplex is replicating the create index command, but it is creating the object in the same schema on the target as the source even if the config files specifies a different schema. see below for an example off the create table and create index.
here is how shareplex currently replicates ddl source/target same instance.
SQL> connect a/a
Connected.
SQL> show user
USER is "A"
SQL> desc a.foo
ERROR:
ORA-04043: object a.foo does not exist
SQL> desc b.foo
ERROR:
ORA-04043: object b.foo does not exist
SQL>
create table foo (a number);
Table created.
SQL> desc a.foo
Name Null? Type
----------------------------------------- -------- ----------------------------
A NUMBER
SQL> desc b.foo
Name Null? Type
----------------------------------------- -------- ----------------------------
A NUMBER
SQL>
alter table foo add constraint foo_pk primary key (a) ;
SQL>
Table altered.
SQL> SQL> desc a.foo
Name Null? Type
----------------------------------------- -------- ----------------------------
A NOT NULL NUMBER <- notice that the not null constraint is now on table so add primary key is now on table.
SQL> desc b.foo
Name Null? Type
----------------------------------------- -------- ----------------------------
A NOT NULL NUMBER <- notice that the not null constraint is now on table so add primary key is now on table.
SQL> create table a.foo2 (cola number, colb number, colc number, cold number);
Table created.
SQL> desc a.foo
Name Null? Type
----------------------------------------- -------- ----------------------------
A NOT NULL NUMBER
SQL> desc b.foo<