org.freedesktop.Tracker.FTS.gschema.xml 2.47 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?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>
21
  <schema id="org.freedesktop.Tracker.FTS" path="/org/freedesktop/tracker/fts/" gettext-domain="tracker">
22 23 24 25

    <key name="max-word-length" type="i">
      <default>30</default>
      <range min="0" max="200"/>
Piotr Drąg's avatar
Piotr Drąg committed
26 27
      <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>
28 29 30 31
    </key>

    <key name="max-words-to-index" type="i">
      <default>10000</default>
Piotr Drąg's avatar
Piotr Drąg committed
32 33
      <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>
34 35 36
    </key>

    <key name="enable-stemmer" type="b">
Piotr Drąg's avatar
Piotr Drąg committed
37 38
      <summary>Enable stemmer</summary>
      <description>Simplify the words to their root to provide more results. E.g. “shelves” and “shelf” to “shel”</description>
39 40 41 42
      <default>false</default>
    </key>

    <key name="enable-unaccent" type="b">
Piotr Drąg's avatar
Piotr Drąg committed
43 44
      <summary>Enable unaccent</summary>
      <description>Translate accented characters to the equivalent unaccented. E.g. “Idéa” to “Idea” for improved matching. </description>
45 46 47 48
      <default>true</default>
    </key>

    <key name="ignore-numbers" type="b">
Piotr Drąg's avatar
Piotr Drąg committed
49 50
      <summary>Ignore numbers</summary>
      <description>If enabled, numbers will not be indexed.</description>
51 52 53 54
      <default>true</default>
    </key>

    <key name="ignore-stop-words" type="b">
Piotr Drąg's avatar
Piotr Drąg committed
55 56
      <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>
57 58 59 60 61
      <default>true</default>
    </key>

  </schema>
</schemalist>