src/main/java/io/redisearch/client/Client.java
@Override
    public boolean updateDocument(String docId, double score, Map<String, Object> fields) {
        return this.doAddDocument(docId, score, fields, false/*noSave*/,
            true/*replace*/, true/*partial*/, null/*payload*/, null/*filter*/);
    }
/**
     * Replace specific fields in a document. Unlike #replaceDocument(), fields not present in the field list
     * are not erased, but retained. This avoids reindexing the entire document if the new values are not
     * indexed (though a reindex will happen
     *
     * @param docId  the id of the document. It cannot belong to a document already in the index unless replace is set
     * @param score  the document's score, floating point number between 0 and 1
     * @param fields a map of the document's fields
     * @return true on success
     */
Replace specific fields in a document. Unlike #replaceDocument(), fields not present in the field list
are not erased, but retained. This avoids reindexing the entire document if the new values are not
indexed (though a reindex will happen

@param docId  the id of the document. It cannot belong to a document already in the index unless replace is set
@param score  the document's score, floating point number between 0 and 1
@param fields a map of the document's fields
@return true on success
Replace specific fields in a document . Unlike #replaceDocument () fields not present in the field list are not erased but retained . This avoids reindexing the entire document if the new values are not indexed ( though a reindex will happen @param docId the id of the document . It cannot belong to a document already in the index unless replace is set @param score the document ' s score floating point number between 0 and 1 @param fields a map of the document ' s fields @return true on success
@Override
    public boolean updateDocument(String docId, double score, Map<String, Object> fields) {
        return this.doAddDocument(docId, score, fields, false/*noSave*/,
            true/*replace*/, true/*partial*/, null/*payload*/, null/*filter*/);
    }
@ Override public boolean updateDocument ( String docId , double score , Map < String , Object > fields ) { return this . doAddDocument ( docId , score , fields , false /*noSave*/ , true /*replace*/ , true /*partial*/ , null /*payload*/ , null /*filter*/ ) ; }
Replace specific fields in a document.
Replace specific fields in a document .