aliyun-tablestore-nodejs-sdk
Version: 
TableStore SDK for JavaScript
15 lines (13 loc) • 361 B
JavaScript
const client = require('./client');
let params = {
    tableName: tableName,
    indexName: indexName,
    timeToLive: 8000000,
}
client.updateSearchIndex(params, function (err, data) {
    if (err) {
        console.log('updateSearchIndex error:', err.toString());
    } else {
        console.log('updateSearchIndex success:', data);
    }
});