var qm = require('qminer');
// create the base object with the desired schema
var base = new qm.Base({
mode: 'createClean',
schema: [{ name: 'tweets',
fields: [{ name: 'text', type: 'string' }],
keys: [{ "field": "text", "type": "text_position" }]
}]
});