blob: e71601327159aa181b26ca502cb0f7bb969431fb [file] [log] [blame]
---
title: clear defined indexes
---
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
Clears all the defined indexes.
Index definitions are stored locally on the `gfsh` client. If you want to create a new set of indexes or if one or more of the index creations fail, you might want to clear the definitions
See also [define index](define.html).
**Availability:** Online or offline.
**Syntax:**
``` pre
clear defined indexes
```
**Example Commands:**
``` pre
gfsh> clear defined indexes
```
**Sample Output:**
``` pre
gfsh>clear defined indexes
Index definitions successfully cleared
```