ExpressionEngine Docs

Getting Started

The Fundamentals

Advanced Usage

Best Practices

Community

Stopwords

Words whose meaning don’t provide useful information in processing or search are called stopwords and are filtered out from the search by ExpressionEngine.

In case you need to change the list to match the requirements of your needs or language, you can save a copy of the default list from system/ee/ExpressionEngine/Config/stopwords.php to /system/user/config/stopwords.php.

<?php
/**
 * This source file is part of the open source project
 * ExpressionEngine (https://expressionengine.com)
 *
 * @link https://expressionengine.com/
 * @copyright Copyright (c) 2003-2021, Packet Tide, LLC (https://www.packettide.com)
 * @license https://expressionengine.com/license Licensed under Apache License, Version 2.0
 */
/**
 * ExpressionEngine Stop Words
 *
 * This file contains an array of words that the search functions in EE will
 * ignore in order to a) reduce load, and b) generate better results.
 */
// $ignore =
return array(
 'a',
 'about',
 'an',
 'and',
 'are',
 'as',
 'at',
 'be',
 'by',
 'but',
 'from',
 'how',
 'i',
 'in',
 'is',
 'it',
 'of',
 'on',
 'or',
 'that',
 'the',
 'this',
 'to',
 'was',
 'we',
 'what',
 'when',
 'where',
 'which',
 'with'	// no comma after last item
);
// EOF

ExpressionEngine 7 Docs
©2002–2024 Packet Tide,LLC.
Edit this page

AltStyle によって変換されたページ (->オリジナル) /