if (!updateWord.prepare("Update words set weight=:weight where guid=:guid and source=:type and word=:word")) {
logger.log(logger.MEDIUM, "Prepare failed for find words in addWordToNoteIndex()");
logger.log(logger.MEDIUM, findWords.lastError());
}
updateWord.bindValue(":weight", weight);
updateWord.bindValue(":guid", guid);
updateWord.bindValue(":type", type);
updateWord.bindValue(":word",word);
updateWord.exec();
}