Get entries which have content like '%findme%'
It's up to you what you prefer to use. Usually people use the ElementCriteriaModel. You could achieve your goal with the record itself too but it requires more code.

The ElementCriteriaModel provides more ready-to-use options and returns populated entries, Records provide only records, so no populated entries with all relations and such

I'm not sure what that $model-&gt;limit is supposed to do, maybe this is a setting in your globals, but you would normally search for entries that contains something (you can find the rules here) with this code

$criteria = craft()-&gt;elements-&gt;getCriteria(ElementType::Entry);
$criteria-&gt;search = 'yourKeyWord';
$relaventContent = $criteria-&gt;find();


If you just want to have all entries you would do

$criteria = craft()-&gt;elements-&gt;getCriteria(ElementType::Entry);
$criteria-&gt;limit = null;
$relaventContent = $criteria-&gt;find();