By browsing on this website you are agreeing to our 'Terms & Conditions' and the 'Privacy Policy' in regards to your rights and personal data handling.
Commands: Indexes: How to check if an index has changed?
IndexHasChanged will let you check if the given index definition differs from the one on a server. This might be useful when you want to check the prior index deployment, if index will be overwritten, and if indexing data will be lost.
Syntax
public boolean indexHasChanged(String name, IndexDefinition indexDef);