code: @Deprecated
    public OPropertyImpl dropIndexes() {
      getDatabase().checkSecurity(ODatabaseSecurityResources.SCHEMA, ORole.PERMISSION_DELETE);
  
      final OIndexManager indexManager = getDatabase().getMetadata().getIndexManager();
  
      final ArrayList<OIndex<?>> relatedIndexes = new ArrayList<OIndex<?>>();
      for (final OIndex<?> index : indexManager.getClassIndexes(owner.getName())) {
        final OIndexDefinition definition = index.getDefinition();
  
        if (OCollections.indexOf(definition.getFields(), name, new OCaseIncentiveComparator()) > -1) {
          if (definition instanceof OPropertyIndexDefinition) {
            relatedIndexes.add(index);
          } else {
            throw new IllegalArgumentException("This operation applicable only for property indexes. " + index.getName() + " is "
                + index.getDefinition());
          }
        }
      }
  
      for (final OIndex<?> index : relatedIndexes) {
        getDatabase().getMetadata().getIndexManager().dropIndex(index.getName());
      }
  
      return this;
    }
docs: Remove the index on property
  
  @deprecated Use {@link OIndexManager#dropIndex(String)} instead.