> I think you should check if index == ALL when b == true or update the javadoc warning that this method invocation will enable indexing
^ I don't see why you need to check what the current status of index is. This is a deprecated method, leave it as is.

> when b == false, you are no changing the index to ALL
^ And why not set it to NONE? That doesn't like a good idea. It's a deprecated method, so would not touch it beyond what's definitely needed.

The implementation for this method works fine with all tests. Any suggestions you have, please test them locally and make sure all tests pass. This is a deprecated method.