<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2011, Nokia <ivan.frade@nokia.com>

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA  02110-1301, USA.
-->
<schemalist>
  <schema id="org.freedesktop.Tracker.FTS" path="/org/freedesktop/tracker/fts/" gettext-domain="tracker">

    <key name="max-word-length" type="i">
      <default>30</default>
      <range min="0" max="200"/>
      <_summary>Maximum length of a word to be indexed</_summary>
      <_description>Words with more characters than this length will be ignored by the indexer.</_description>
    </key>

    <key name="max-words-to-index" type="i">
      <default>10000</default>
      <_summary>Maximum number of words to index in a document</_summary>
      <_description>Indexer will read only this maximum number of words from a single document.</_description>
    </key>

    <key name="enable-stemmer" type="b">
      <_summary>Enable stemmer</_summary>
      <_description>Simplify the words to their root to provide more results. E.g. “shelves” and “shelf” to “shel”</_description>
      <default>false</default>
    </key>

    <key name="enable-unaccent" type="b">
      <_summary>Enable unaccent</_summary>
      <_description>Translate accented characters to the equivalent unaccented. E.g. “Idéa” to “Idea” for improved matching. </_description>
      <default>true</default>
    </key>

    <key name="ignore-numbers" type="b">
      <_summary>Ignore numbers</_summary>
      <_description>If enabled, numbers will not be indexed.</_description>
      <default>true</default>
    </key>

    <key name="ignore-stop-words" type="b">
      <_summary>Ignore stop words</_summary>
      <_description>If enabled, the words listed in the stop-words list are ignored. E.g. common words like “the”, “yes”, “no”, etc.</_description>
      <default>true</default>
    </key>

  </schema>
</schemalist>
