src/main/java/io/redisearch/client/Client.java
@Override
    public boolean replaceDocument(String docId, double score, Map<String, Object> fields) {
        return this.doAddDocument(docId, score, fields, false/*noSave*/, true/*replace*/, 
            false/*partial*/, null/*payload*/, null /*filter*/);
    }
/**
     * replaceDocument is a convenience for calling addDocument with replace=true
     *
     * @param docId
     * @param score
     * @param fields
     * @return true on success
     */
replaceDocument is a convenience for calling addDocument with replace=true
@param docId
@param score
@param fields
@return true on success
replaceDocument is a convenience for calling addDocument with replace = true @param docId @param score @param fields @return true on success
@Override
    public boolean replaceDocument(String docId, double score, Map<String, Object> fields) {
        return this.doAddDocument(docId, score, fields, false/*noSave*/, true/*replace*/, 
            false/*partial*/, null/*payload*/, null /*filter*/);
    }
@ Override public boolean replaceDocument ( String docId , double score , Map < String , Object > fields ) { return this . doAddDocument ( docId , score , fields , false /*noSave*/ , true /*replace*/ , false /*partial*/ , null /*payload*/ , null /*filter*/ ) ; }
replaceDocument is a convenience for calling addDocument with replace=true
 @param docId
 @param score
 @param fields
 @return true on success
replaceDocument is a convenience for calling addDocument with replace = true @param docId @param score @param fields @return true on success