src/main/java/io/redisearch/client/Client.java
private BinaryClient deleteDocument(String docId, boolean deleteDocument, Jedis conn) {
    	if(deleteDocument) {
    		return sendCommand(conn, commands.getDelCommand(), this.endocdedIndexName, SafeEncoder.encode(docId), Keywords.DD.getRaw());
    	}
    	return sendCommand(conn, commands.getDelCommand(), this.endocdedIndexName, SafeEncoder.encode(docId));
    }
/**
     * 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
     * @param conn client connection to be used
     * @return reference to the {@link BinaryClient} too allow chaining 
     */
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
@param conn client connection to be used
@return reference to the  BinaryClient too allow chaining
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 @param conn client connection to be used @return reference to the BinaryClient too allow chaining
private BinaryClient deleteDocument(String docId, boolean deleteDocument, Jedis conn) {
    	if(deleteDocument) {
    		return sendCommand(conn, commands.getDelCommand(), this.endocdedIndexName, SafeEncoder.encode(docId), Keywords.DD.getRaw());
    	}
    	return sendCommand(conn, commands.getDelCommand(), this.endocdedIndexName, SafeEncoder.encode(docId));
    }
private BinaryClient deleteDocument ( String docId , boolean deleteDocument , Jedis conn ) { if ( deleteDocument ) { return sendCommand ( conn , commands . getDelCommand ( ) , this . endocdedIndexName , SafeEncoder . encode ( docId ) , Keywords . DD . getRaw ( ) ) ; } return sendCommand ( conn , commands . getDelCommand ( ) , this . endocdedIndexName , SafeEncoder . encode ( docId ) ) ; }
Delete a document from the index.
Delete a document from the index .