@Override
    public boolean hasIndex() {
        return (getIndexingScript() != null) && doesIndexing();
    }
Sets the indexing script of this, or null to not use a script
config-model/src/main/java/com/yahoo/schema/document/SDField.java