]> arthur.barton.de Git - netatalk.git/commitdiff
Add a tracker.cfg file
authorRalph Boehme <sloowfranklin@gmail.com>
Tue, 19 Feb 2013 10:19:21 +0000 (11:19 +0100)
committerRalph Boehme <sloowfranklin@gmail.com>
Tue, 19 Feb 2013 10:19:21 +0000 (11:19 +0100)
config/Makefile.am
config/tracker.cfg [new file with mode: 0644]

index 541447747a44fb12fbd13285f57ead424222ffcc..1e2e6d3500e11d9686b48f8afa22292697ea213a 100644 (file)
@@ -41,6 +41,9 @@ uninstall-local:
        done
        rm -f $(DESTDIR)$(localstatedir)/netatalk/README
        rm -f $(DESTDIR)$(localstatedir)/netatalk/CNID/README
+if HAVE_TRACKER_RDF
+       rm -f $(DESTDIR)$(pkgconfdir)/tracker/tracker.cfg
+endif
 if USE_DEBIAN
        rm -f $(DESTDIR)/etc/default/netatalk
 endif
@@ -63,3 +66,8 @@ install-config-files: $(CONFFILES) $(GENFILES)
                        echo "not overwriting $$f"; \
                fi; \
        done
+if HAVE_TRACKER_RDF
+       if test "x$(OVERWRITE_CONFIG)" = "xyes" -o ! -f $(DESTDIR)$(pkgconfdir)/tracker/tracker.cfg ; then \
+               $(INSTALL_DATA) tracker.cfg $(DESTDIR)$(pkgconfdir)/tracker/ ; \
+       fi
+endif
diff --git a/config/tracker.cfg b/config/tracker.cfg
new file mode 100644 (file)
index 0000000..03fc15c
--- /dev/null
@@ -0,0 +1,80 @@
+
+[General]
+# Log Verbosity (0=errors, 1=minimal, 2=detailed, 3=debug)
+Verbosity=1
+# Initial sleep time in seconds (0->1000)
+InitialSleep=0
+# Minimizes memory use at the expense of indexing speed
+LowMemoryMode=false
+# Set to TRUE when the home directory is in a NFS filesystem
+NFSLocking=false
+
+[Watches]
+# List of directory roots to index and watch (separator=;)
+WatchDirectoryRoots=
+# List of directory roots to index but NOT watch (separator=;)
+CrawlDirectory=
+# List of directory roots NOT to index and NOT to watch (separator=;)
+NoWatchDirectory=
+# Set to false to completely disable any watching
+EnableWatching=true
+
+[Indexing]
+# Sets the indexing speed (0->20, where 20=slowest speed)
+Throttle=0
+# Set to false to completely disable any indexing
+EnableIndexing=true
+# Set to false to completely disable file content indexing
+EnableFileContentIndexing=true
+# Set to false to completely disable thumbnail generation
+EnableThumbnails=true
+# List of disabled modules (separator=;)
+# The modules that are indexed are kept in $prefix/lib/tracker/indexer-modules
+DisabledModules=evolution;
+# Set to false to NOT hog the disk for extended periods
+# FastMerges=false
+# List of partial file pattern globs (separator=;)
+# This is for files to NOT index
+# (basic stat info is only extended for files that match the patterns)
+NoIndexFileTypes=
+# Set the minimum length of words to index (0->30, default=3)
+MinWordLength=3
+# Set the maximum length of words to index (0->200, default=30)
+MaxWordLength=30
+# Set the language specific stemmer and stopword list to use
+# Values include:
+# - en (English)
+# - da (Danish)
+# - nl (Dutch)
+# - fi (Finish)
+# - fr (French)
+# - de (German)
+# - it (Italian)
+# - nb (Norwegian)
+# - pt (Portugese)
+# - ru (Russian)
+# - es (Spanish)
+# - sv (Swedish)
+Language=de
+# Set to false to disable language specific stemmer
+EnableStemmer=true
+# Set to true to disable indexing when running on battery
+BatteryIndex=true
+# Set to true to disable initial indexing when running on battery
+BatteryIndexInitial=false
+# Pause indexer when disk space is <= this value
+# (0->100, value is in % of $HOME file system, -1=disable pausing)
+LowDiskSpaceLimit=1
+# Set to true to enable traversing mounted directories on other file systems
+# (this excludes removable devices)
+IndexMountedDirectories=true
+# Set to true to enable traversing mounted directories for removable devices
+IndexRemovableMedia=true
+
+[Performance]
+# Maximum text size in bytes to index from a file's content
+MaxTextToIndex=1048576
+# Maximum unique words to index from a file's content
+MaxWordsToIndex=10000
+MinBucketCount=65536
+MaxBucketCount=524288