[Rt-commit] r19100 - rt/3.999/branches/FTS/etc

ruz at bestpractical.com ruz at bestpractical.com
Wed Apr 8 10:46:26 EDT 2009


Author: ruz
Date: Wed Apr  8 10:46:26 2009
New Revision: 19100

Modified:
   rt/3.999/branches/FTS/etc/RT_Config.pm

Log:
* add FullTextSearch to the RT main config

Modified: rt/3.999/branches/FTS/etc/RT_Config.pm
==============================================================================
--- rt/3.999/branches/FTS/etc/RT_Config.pm	(original)
+++ rt/3.999/branches/FTS/etc/RT_Config.pm	Wed Apr  8 10:46:26 2009
@@ -174,6 +174,25 @@
 
 set($UseSQLForACLChecks, undef);
 
+=item C<%FullTextSearch>
+
+Full text search (FTS) without indexes is slow operation and by default is
+disabled at all. To enable FTS set key 'Enabled' to true value.
+
+Setup of indexes and filling them with data requires different steps for
+different database back-ends. Use F<sbin/rt-setup-fulltext-index> helper
+for quick start. This script creates required structures in the DB and
+gives some ideas on next steps.
+
+=cut
+
+set(%FullTextSearch,
+    Enable  => 0,
+    Indexed => 0,
+#    Table   => 'AttachmentsIndex',
+#    Column  => 'ftsindex',
+);
+
 =back
 
 =head1 Incoming Mail Gateway Configuration


More information about the Rt-commit mailing list