Stopwords

Stopwords are common words such as “I,” “a,” “an,” “the,” and so on, that are ignored during the indexing or querying process. Removing the most common words during the indexing process keeps index sizes smaller, which enhances query performance.

StepsAdding a stopword

  1. Click Configuration.

  2. Click Stopwords.

  3. Click Add Stopword.

  4. Enter your terms in the Stopwords field.

  5. Click Add if you have multiple entries for a stopword, else proceed to step 6.

  6. Click Save.

    NoteThe new stopwords affect only new documents. Previously indexed documents are not affected by new stopwords terms.

StepsRemoving a stopword

  1. From the Metadata Configuration Summary page, click Stopwords.

  2. Click Remove for the stopword you want to delete.

  3. Click OK to confirm the deletion.

StepsSaving as XML

  1. From the Metadata Configuration Summary page, click Stopwords.

  2. Click Save as XML.

  3. Click Save, then confirm whether you want to save your current stopwords terms.

    NoteFor data integrity purposes, the original XML file is not overwritten. Sybase Search writes the new settings into an XML file available at the following location:

    install_location\OmniQ\data\config\locale\Stopwords_en.104.xml.

  4. Click OK.

StepsLoading from XML

  1. From the Metadata Configuration page, click Stopwords.

  2. Click Load from XML.

  3. Click Load, then confirm whether you want to load stopword from your XML file.

  4. Click OK.

    The preserved terms are loaded from the default XML file available at:

    install_location\OmniQ\config\locale\Stopwords_en.xml.