<?php

namespace JayPS\Search;

class Model_Keyword extends \Nos\Orm\Model
{
    protected static $_table_name = 'jayps_search_word_occurence';
    protected static $_primary_key = array();
}

<?php

namespace JayPS\Search;

class Model_Keyword extends \Nos\Orm\Model
{
    protected static $_table_name = 'jayps_search_word_occurence';
    protected static $_primary_key = array('mooc_word');
}

Add a $_primary_key in Model_Keyword to remove errors
Add a $_primary_key in Model_Keyword to remove errors

This should also add the possibility to do:

        for($i = 1; $i <= count($keywords); $i++) {
            foreach ($item->{'jayps_search_word_occurence'.$i} as $k => $keyword) {
                d("$k, $keyword->mooc_score");
            }
        }

But there is a problem with Model::cached_object in Query::hydrate() that reuse objects
