Partial fix for #161, use admin function to create index def instead of copying xml from ml-config