src/main/java/io/redisearch/client/Client.java
@Override
    public boolean deleteDocument(String docId, boolean deleteDocument) {
        try (Jedis conn = connection()) {        	
        	return deleteDocument(docId, deleteDocument, conn).getIntegerReply() == 1;
        }
    }
/**
     * Delete a document from the index.
     *
     * @param docId the document's id
     * @param deleteDocument if <code>true</code> also deletes the actual document if it is in the index
     * @return true if it has been deleted, false if it did not exist
     */
Delete a document from the index.
@param docId the document's id
@param deleteDocument if true also deletes the actual document if it is in the index
@return true if it has been deleted, false if it did not exist
Delete a document from the index . @param docId the document ' s id @param deleteDocument if true also deletes the actual document if it is in the index @return true if it has been deleted false if it did not exist
@Override
    public boolean deleteDocument(String docId, boolean deleteDocument) {
        try (Jedis conn = connection()) {        	
        	return deleteDocument(docId, deleteDocument, conn).getIntegerReply() == 1;
        }
    }
@ Override public boolean deleteDocument ( String docId , boolean deleteDocument ) { try ( Jedis conn = connection ( ) ) { return deleteDocument ( docId , deleteDocument , conn ) . getIntegerReply ( ) == 1 ; } }
Delete a document from the index.
Delete a document from the index .