root/branches/release-34/mt-ftsearch.cgi

Revision 1502, 304 bytes (checked in by fumiakiy, 9 months ago)

First attempt to support freetext index in MT::App::Search. BugId:68481

  • You need to configure "SearchScript mt-ftsearch.cgi" in mt-config.
  • You need to manually create fulltext index mt_entry_ft_index on mt_entry (entry_text, entry_text_more, entry_keywords, entry_title) in the MySQL database (columns are the default search targets).
  • Property svn:keywords set to Id Author Date Revision
Line 
1 #!/usr/bin/perl -w
2
3 # Movable Type (r) Open Source (C) 2001-2008 Six Apart, Ltd.
4 # This program is distributed under the terms of the
5 # GNU General Public License, version 2.
6 #
7 # $Id$
8
9 use strict;
10 use lib $ENV{MT_HOME} ? "$ENV{MT_HOME}/lib" : 'lib';
11 use MT::Bootstrap App => 'MT::App::Search::FreeText';
Note: See TracBrowser for help on using the browser.