src/main/java/io/redisearch/client/Client.java
@Override
    public boolean dropIndex(boolean missingOk) {
        try (Jedis conn = connection()) {
          String res = sendCommand(conn, commands.getDropCommand(), this.endocdedIndexName).getStatusCodeReply();
          return res.equals("OK");
        } catch (JedisDataException ex) {
            if (missingOk && ex.getMessage().toLowerCase().contains("unknown")) {
                return false;
            } 
            throw ex;
        }
    }
/**
     * Drop the index and associated keys, including documents
     *
     * @param missingOk If the index does not exist, don't throw an exception, but return false instead
     * @return True if the index was dropped, false if it did not exist (or some other error occurred).
     */
Drop the index and associated keys, including documents
@param missingOk If the index does not exist, don't throw an exception, but return false instead
@return True if the index was dropped, false if it did not exist (or some other error occurred).
Drop the index and associated keys including documents @param missingOk If the index does not exist don ' t throw an exception but return false instead @return True if the index was dropped false if it did not exist ( or some other error occurred ) .
@Override
    public boolean dropIndex(boolean missingOk) {
        try (Jedis conn = connection()) {
          String res = sendCommand(conn, commands.getDropCommand(), this.endocdedIndexName).getStatusCodeReply();
          return res.equals("OK");
        } catch (JedisDataException ex) {
            if (missingOk && ex.getMessage().toLowerCase().contains("unknown")) {
                return false;
            } 
            throw ex;
        }
    }
@ Override public boolean dropIndex ( boolean missingOk ) { try ( Jedis conn = connection ( ) ) { String res = sendCommand ( conn , commands . getDropCommand ( ) , this . endocdedIndexName ) . getStatusCodeReply ( ) ; return res . equals ( "OK" ) ; } catch ( JedisDataException ex ) { if ( missingOk && ex . getMessage ( ) . toLowerCase ( ) . contains ( "unknown" ) ) { return false ; } throw ex ; } }
Drop the index and associated keys, including documents
 @param missingOk If the index does not exist, don't throw an exception, but return false instead
 @return True if the index was dropped, false if it did not exist (or some other error occurred).
Drop the index and associated keys including documents @param missingOk If the index does not exist don ' t throw an exception but return false instead @return True if the index was dropped false if it did not exist ( or some other error occurred ) .