Create a schema that contains an index
Create entities
Change schema to not contain index and call updateIndexSchema method
Create entities
Execute a query that should return entities from steps 2. and 4. however it contains entities only from step 2.
Here is a test that is reproducing the issue
https://github.com/fax4ever/infinispan-play/blob/ffad75668e7e7fb0837efbd2a5c608477a05f37c/index-evolution/src/test/java/fax/play/smoke/MinorsForNoDowntimeUpgradesTest.java#L137-L164
Description
When an index is removed and the updateIndexSchema method is called, it is expected that Infinispan will not use the index.