Description
Executing the below commands in gfsh will result in the destroyed index being created. It appears that the combination of destroying the lucene index while specifying the region name and index name, along with attempting to create a replicate region can cause the destroyed index to be restored and created when a partition region with the same name finally is created.
create lucene index --name="GHOST_INDEX" --region="test" --field=name
list lucene indexes
destroy lucene index --region=test --name="GHOST_INDEX"
create lucene index --name="LUCENE_INDEX" --region="test" --field=name
create region --name=test --type=REPLICATE
create region --name=test --type=PARTITION
list lucene indexes
If the --name parameter of the index was not supplied on the destroy, then things work fine.