All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lib.xp.examples.node.refresh.js Maven / Gradle / Ivy

The newest version!
var nodeLib = require('/lib/xp/node');
var assert = require('/lib/xp/testing');


var repo = nodeLib.connect({
    repoId: 'com.enonic.cms.default',
    branch: 'master'
});

// BEGIN
// Refresh repository indices
repo.refresh();
// END

// BEGIN
// Refresh repository search index
repo.refresh('SEARCH');
// END




© 2015 - 2024 Weber Informatics LLC | Privacy Policy