Implement weight as model 'TextsKeywordsRelation'