There is actually some code in the search that will exclude frequent words.
From 3.5.2
// Loop every word and insert result in temporary table
include_once( 'kernel/classes/ezcontentobjecttreenode.php' );
$showInvisibleNodesCond =& eZContentObjectTreeNode::createShowInvisibleSQLString( true );
foreach ( $searchPartsArray as $searchPart )
{
$stopWordThresholdValue = 100;
if ( $ini->hasVariable( 'SearchSettings', 'StopWordThresholdValue' ) )
$stopWordThresholdValue = $ini->variable( 'SearchSettings', 'StopWordThresholdValue' );
$stopWordThresholdPercent = 60;
if ( $ini->hasVariable( 'SearchSettings', 'StopWordThresholdPercent' ) )
$stopWordThresholdPercent = $ini->variable( 'SearchSettings', 'StopWordThresholdPercent' );
$searchThresholdValue = $totalObjectCount;
if ( $totalObjectCount > $stopWordThresholdValue )
{
$searchThresholdValue = (int)( $totalObjectCount * ( $stopWordThresholdPercent / 100 ) );
}
// do not search words that are too frequent
if ( $searchPart['object_count'] < $searchThresholdValue )
You need to tweak the StopWord settings in site.ini
See: http://ez.no/doc/ez_publish/technical_manual/3_9/reference/configuration_files/site_ini/searchsettings
Cheers Bruce
What values have you got 'StopWordThresholdValue' & 'StopWordThresholdPercent' set to?
I believe that if you set 'StopWordThresholdValue' to a large value (say 1000000) or 'StopWordThresholdPercent' = 100 that the exclusion will not happen.