[Rt-commit] rt branch, 4.2/lock-config-options-in-tests, updated. rt-4.1.6-347-g35f2111

Ruslan Zakirov ruz at bestpractical.com
Fri Mar 15 09:38:55 EDT 2013


The branch, 4.2/lock-config-options-in-tests has been updated
       via  35f2111eaea7c46545b4e7819a3ca0380b056862 (commit)
      from  c75abc7fd740f8c31e45462edbb87e35d73a96bd (commit)

Summary of changes:
 etc/RT_Config.pm.in | 12 ++++++++++++
 1 file changed, 12 insertions(+)

- Log -----------------------------------------------------------------
commit 35f2111eaea7c46545b4e7819a3ca0380b056862
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Fri Mar 15 17:32:40 2013 +0400

    return back documentation of DontSearchFileAttachments option
    
    It was deleted in d789bd3986a4ad63a71bd2450c9aad0c7763a7de (rt-4.0.1rc1)
    with usage in sbin/rt-setup-fulltext-index, but it is primary use
    case is in TicketSQL to filter out named attachments while searching
    content.
    
    Mentioned commit replaces use of the option with command line argument.
    It was the right call to separate FTS indexing from this option, so
    we don't restore usage in the script.

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 90d85e6..0bab8f2 100755
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -1227,6 +1227,18 @@ Set(%FullTextSearch,
     Indexed => 0,
 );
 
+=item C<$DontSearchFileAttachments>
+
+If C<$DontSearchFileAttachments> is set to 1, then uploaded files
+(attachments with file names) are not searched during content
+search.
+
+Note that if you use indexed FTS then named attachments are still
+indexed by default regardless of this option.
+
+=cut
+
+Set($DontSearchFileAttachments, undef);
 
 =item C<$OnlySearchActiveTicketsInSimpleSearch>
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list