<?xml version="1.0" encoding="utf-8"?>

<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  xmlns:admin="http://webns.net/mvcb/"
  xmlns:cc="http://web.resource.org/cc/"
  xmlns="http://purl.org/rss/1.0/">

<channel rdf:about="http://mt-hacks.com/">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html</link>
<description>Fast Search - PHP Fulltext Search Plugin Discussion at MT-Hacks.com</description>
<dc:language>en-us</dc:language>
<dc:creator>Mark</dc:creator>
<dc:date>2006-08-08T11:35:57-05:00</dc:date>
<admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=4.25b2-en" />

<cc:license rdf:resource="http://creativecommons.org/licenses/by-nc-sa/1.0/" />


<items>
<rdf:Seq>
<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#173291" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#173293" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#173356" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#173362" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#173443" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#173480" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#174104" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#174106" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#174108" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#174112" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#174157" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#174906" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#174908" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#175008" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#175408" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#175410" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#175412" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#175436" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#175450" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#175826" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#175858" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#176099" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179000" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179020" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179455" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179481" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179490" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179505" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179514" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179515" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179521" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#180606" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#180622" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#180726" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#180879" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#180895" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#180898" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#180927" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#181120" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#181125" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#181206" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#181293" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#181608" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#182226" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#182639" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#188377" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#191948" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#192026" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#192131" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#192186" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#192274" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#192301" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#192441" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#192513" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#193219" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#194731" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#195024" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#195250" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#200389" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#200454" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#200955" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#201883" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#202059" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#202776" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#204038" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#204047" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#204657" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#204759" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#204761" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#205340" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#205372" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#205457" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#205541" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#205650" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#205900" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#206008" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#206087" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#206164" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#206998" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#207097" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#207377" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#209907" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#209924" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#210036" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#214323" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#214329" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#223254" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#230746" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#231675" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#231921" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#234314" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#234418" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#234488" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#234510" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#234537" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#235425" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#239529" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#239569" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#239870" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#241852" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#242420" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#243814" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#257617" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#274058" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#283207" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#298563" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#304323" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#304324" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#304469" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#324191" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#324193" />

<rdf:li rdf:resource="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#324206" />
</rdf:Seq>
</items>

</channel>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html</link>
<description><![CDATA[<p><em><strong>Update, Oct. 9, 2006</strong> - A newer version of Fast Search has been released. <a href="http://mt-hacks.com/20061007-fast-search-v15-several-new-features.html">Click here</a> for details.</em></p>

<p>The built-in search tool in Movable Type can be slow and can take a lot of processing power, especially if you have blogs with many entries.  When I recently upgraded to version 3.31 of MT, I was dismayed to learn that searches became slower and more processor-intensive (at least on my server).  I was forced to disable the mt-search.cgi script, as it was overloading my dedicated server.  So I went looking for an alternative.  I found a PHP mySQL Fulltext method that worked very fast, and without the CPU problems.</p>

<p>So contacted <a href="http://www.weblogssl.com">Iñaki</a>, the creator of this PHP solution, who granted me permission modify the solution and package it up as a Movable Type plugin.  I have added a number of features, and I have made significant efforts to make the plugin easy to install and use.</p>

<p><strong>Fast Search</strong> is a PHP plugin for Movable Type.  This means that Fast Search uses Movable Type's dynamic PHP-based publishing system to display search results.  However, you can continue to use static publishing for all of your indexes and archives.  Fast Search is fast in part because it uses mySQL fulltext indexing -- basically this means that a search index will be created for the entries in your database, making searches much faster.</p>

<p><strong>Template Tags</strong></p>

<p>Version 1.0 of FastSearch is designed to easily replace the existing search functionality in Movable Type.  For example, if you are currently using customized search templates, you can use them with Fast Search, with very few changes in most cases.  Many Fast Search template tags have the same names as their CGI counterparts:</p>

<ul><li><strong>&lt;MTSearchString&gt;</strong> - The search string (query) being searched.</li>
<li><strong>&lt;MTSearchResults&gt;</strong> - A container tag that displays search results.  Arguments include (all are optional):</li>
<ul><li><em>lastn</em> - restricts the search to n results.  (example &lt;MTSearchResults lastn="10"&gt; ) The lastn argument, like all arguments for MTSearchResults, can also be specified in the URL (...&lastn=10) or POSTed from a search form)</li>
<li><em>offset</em> - used in coordination with lastn, starts M entries from the start of the list. (example &lt;MTSearchResults lastn="10" offset="10"&gt; will display results 11-20)</li>
<li><em>order</em> - must be either 'date' or 'relevance', the default is 'relevance'.  (example $lt;MTSearchResults order="date"&gt; will provide similar results as the CGI search)</li>
<li><em>category</em> - must be a valid category ID for the current blog - restricts the search results to entries from this category.</li>
<li><em>google_highlight</em> - if specified, search words will be highlighted. (example &lt;MTSearchResults google_highlight="1"&gt; )</li>
<li><em>query</em> - the search string (text) to be searched.  In normal use, you would NOT include this argument as part of the &lt;MTSearchResults&gt; tag, rather, it would be specified as a URL paramter (example ...query=search+phrase) or POSTed from a search form.</li></ul>
<li><strong>&lt;MTBlogResultHeader&gt;</strong> - this is container tag that displays content before the search results.  (Note: in version 1.0 of Fast Search, you cannot search multiple blogs in the same search)</li>
<li><strong>&lt;MTBlogResultFooter&gt;</strong> - this is container tag that displays content below the search results.</li>
<li><strong>&lt;MTNoSearchResult&gt;</strong> - A container tag that displays its content only if zero results are found. Note that this tag must be used <em>after</em> a &lt;MTSearchResults&gt; container.</li>
<li><strong>&lt;MTNoSearch&gt;</strong> - A container tag that displays its content only if no search phrase was specified.</li>
<li><strong>&lt;MTSearchCount&gt;</strong> - The number of search results displayed.  This tag should be used with a &lt;MTBlogResultHeader&gt; or &lt;MTBlogResultFooter&gt; container.</li>
<li><strong>&lt;MTSearchFirst&gt;</strong> - The number of the first search result on the current page.  This tag should be used with a &lt;MTBlogResultHeader&gt; or &lt;MTBlogResultFooter&gt;container.</li>
<li><strong>&lt;MTSearchLast&gt;</strong> - The number of the last search result on the current page.  This tag should be used with a &lt;MTBlogResultHeader&gt; or &lt;MTBlogResultFooter&gt;container.</li>
<li><strong>&lt;MTSearchIfNextPage&gt;</strong> - A conditional tag that displays its content if there is a subsequent page of search results.  This tag should be used with a &lt;MTBlogResultHeader&gt; or &lt;MTBlogResultFooter&gt;container.</li>
<li><strong>&lt;MTSearchNextPageLink&gt;</strong> - Output a URL to the next page of search results.  This tag should be used within &lt;MTSearchIfNextPage&gt; tags.</li></ul>

<p>As you may have noticed, most of the tags above are identical to the ones used for the existing CGI-based search results. This is by design, so you will easily be able to cut-and-paste your existing search template code into the Fast Search template, though some minor modifications may be required.</p>

<p><strong>Working Examples:</strong></p>

<p>Here are some working examples you can try.  Feel free to try additional search queries and note the speed that searches are performed.</p>

<ul><li>Mars Rover Blog has over 5,000 entries.  Example search: <a href="http://www.marsroverblog.com/fastsearch?search=%22water+on+mars%22">"water on mars"</a>.  Note that this example shows the default FastSearch template, which is very similar to the default search results template in MT 3.2.</li>

<p><li>Seinfeld Blog has over 8,000 entries, 180 of which consist of the episode descriptions and scripts of all 180 episodes. Fast Search powers the <a href="http://www.stanthecaddy.com/search.html">Seinfeld Script Search</a>, which is restricted to a single category containing the episodes. Example search: '<a href="http://www.stanthecaddy.com/search.php?query=bubble+boy">bubble boy</a>'</li></ul></p>

<p><strong>Requirements:</strong></p>

<ul><li>Movable Type 3.2 or 3.3</li>
<li>mySQL 4.0.1 or higher</li></ul>

<p><strong>Instructions</strong></p>

<ol><li>Download the plugin and expand the zip file.</li>
<li>Upload the contents of the 'plugins' folder to the 'plugins' directory of your MT installation (usually something like /cgi-bin/mt/plugins).</li>
<li>Upload the contents of the 'php' folder to the 'php' directory (usually something like /cgi-bin/mt/php)</li>
<li>Login to the MT admin interface.  If you already logged in, choose 'Main Menu'</li>
<li>If your are running MT 3.3, you should be redirected to an 'Upgrade' screen at this point.  The Fast Search upgrade process will update your database to add a fulltext index to the table in your database where entries are stored. Note that this may take some time if you have many entries, and this will add to the overall size of your database.</li>
<li>If you are running MT 3.2, you will not see the upgrade screen (as it is a 3.3 feature), so you need to create the index by browsing to the 'Settings' of a blog where you want to use Fats Search.  Choose the 'Plugins' tab then find 'Fast Search' and choose 'Settings'.  Now click the link in bold that says "Click here to create or rebuild the FastSearch fulltext index".  Again, this may take some time, please be patient.  After the index has been created, hit the Back button.</li>
<li>Now browse to the 'Publishing' settings tab for the blog, and scroll down to the Setting called "Dynamic Publishing".  If the first option, "Build all templates statically", is selected, you should change this setting to "Set each template's Build Options separately" and click "Save Changes" at the bottom of the screen.  Otherwise, you don't need to make any changes here.(Note that change this setting will create an .htaccess file in the root path of the blog.  Normally you won't notice this and everything will work fine, but if you have an existing.htacces file, you may want to take a look at it to make sure everything looks okay)</li>
<li>If you just changed your Dynamic Publishing settings in the previous step, you should now rebuild all files for this blog by choosing "Rebuild Site" from the left menu, then "Rebuild all Files".  You should also ensure that you have a "Dynamic Site Bootstrapper" (mtview.php) index template and make sure that it gets built, if it hasn't been built previously.</li>
<li>Now return to the Fast Search settings ('Plugins' tab within 'Settings') and check the box to enable Fast Search.  You may also want to adjust the settings for Maximum Search Results and logging, then click "Save Changes".</li>
<li>Open the Fast Search settings once again and choose "Click here to install the default Fast Search Template." The template will be created and then displayed.  This is an dynamic Index template (which can be customized) used to display the search results.  (<em>If desired you can also skip this step and create the index template manually, use the template tags as desired, or by cutting and pasting your exisiting search template code</em>)</li>

</ol><strong>The Search Form</strong>

<p>If you already have search forms on your blog pages, you need to update them to point to the new Fast Search template. For each template that contains a search form, look for the following (or similar):</p>

<p>&lt;form method="post" action="<strong>&lt;$MTCGIPath$&gt;&lt;$MTSearchScript$&gt;</strong>"</p>

<p>...and change it to:</p>

<p>&lt;form method="post" action="<strong>&lt;$MTBlogURL&gt;fastsearch</strong>"</p>

<p>...save the template and repeat this step for every template that has a search form.</p>

<p>If you want to insert a new search form on your site, or completely replace existing forms, you can use the following:</p>

<pre>&lt;form method="get" action="&lt;$MTBlogURL$&gt;fastsearch"&gt;
    &lt;label for="query" accesskey="4"&gt;Search this blog:&lt;/label&gt;&lt;br /&gt;
    &lt;input id="query" name="query" size="20" /&gt;
    &lt;input type="submit" value="Search" /&gt;
&lt;/form&gt;</pre>

<p>Of course you can also add optional fields to the form such as:</p>

<pre>&lt;input type="hidden" name="order" value="date" /&gt;</pre>

<p>....to sort the results by date, or....</p>

<pre>&lt;input type="hidden" name="category" value="5" /&gt;</pre>

<p>...to restrict the search to category_id = 5.</p>

<p>Once you have the search form(s) on you site, rebuild those pages and start searching.  You should notice significant speed and resource improvement, especially on blogs with many entries.</p>

<p><strong>Download Fast Search</strong></p>

<p><strong><em>Non-commercial use</em></strong> - FREE  ( although you must include a <pre>Movable Type search results powered by <br />
&lt;a href="http://mt-hacks.com/fastsearch.html"&gt;Fast Search&lt;/a&gt;</pre> link on your search results pages.</p>

<p>Also, donations are appreciated:<br />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_xclick"><input type="hidden" name="business" value="payme@markcarey.com"><input type="hidden" name="item_name" value="Fast Search Plugin Donation"><input type="hidden" name="item_number" value="39114"><input type="hidden" name="no_shipping" value="2"><input type="hidden" name="no_note" value="1"><input type="hidden" name="currency_code" value="USD"><input type="hidden" name="shipping" value="0.00"><input type="hidden" name="no_shipping" value="1"><input type="hidden" name="tax" value="0"><input type="hidden" name="bn" value="PP-DonationsBF"><input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"><img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"></form></p>

<p><strong><em>Commercial use</em></strong> - <strong>$97.00</strong> <form action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_xclick"><input type="hidden" name="business" value="payme@markcarey.com"><input type="hidden" name="item_name" value="Fast Search Plugin"><input type="hidden" name="item_number" value="39114"><input type="hidden" name="amount" value="97.00"><input type="hidden" name="no_shipping" value="1"><input type="hidden" name="no_note" value="1"><input type="hidden" name="currency_code" value="USD"><input type="hidden" name="bn" value="PP-BuyNowBF"><input type="hidden" name="shipping" value="0.00"><input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"><img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"></form></p>

<p><strong>Download Now</strong></p>

<p><MTIfMemberLoggedIn><a href="/downloads/FastSearch.zip" target="_blank" title="Download Now" onclick="pushRating('fastsearchdownloads',1,1,22,<$MTAjaxRatingTotalScore type="fastsearchdownloads" id="1"$>,<$MTAjaxRatingVoteCount type="fastsearchdownloads" id="1"$>,0);"><img src="/images/download.gif" alt="Download Now"/></a> <br />
<span class="downloads">Downloads: <$MTAjaxRatingVoteCount id="1" type="fastsearchdownloads"$> (since 3/6/07)</span></MTIfMemberLoggedIn></p>

<p>As always, suggestions and feedback are appreciated.  Please reply to this entry.</p>

<p>Note: FastSearch v1.0 is a suitable replacement for most implementations of the built-in search function in Movable Type.  However, there are a few features that Fast Search v1.0 does not include.  Fast Search v1.0 does not support comment searches, multi-blog searches (searching multiple blogs at the same time), regexp search, case-senstive search, the use of AND and OR operators, and Edit Entry Links).  Also, Fast Search v1.0 does not inlcude MT 3.3 search features such as tag search.  Some of these features may be supported in future versions -- please let me know what features you would like to see.</p>

<p><em>Updated: 8/9/06 07:39:00 - added some additonal info to the instructions based on feedback from Patrick.</em></p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark</dc:creator>
<dc:date>2006-08-08T11:35:57-05:00</dc:date>
</item>


<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#173291</link>
<description><![CDATA[<p>Oh man, this is going to make my life so much easier, thank you!  I redesign often, and it's such an awful pain to have to go back to the search templates for these changes.  Right on!</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Jesse Gardner</dc:creator>
<dc:date>2006-08-08T13:25:05-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#173293</link>
<description><![CDATA[<p>Great job, Mark! You've done a great job packaging it and making it easy to install for everyone, very good job indeed.</p>

<p>I highly recommend switching from MT's search to this method, we've been using it in our 16 blogs for months and works really well: searches are much faster for users, and the load on the system is much lower.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Iñaki</dc:creator>
<dc:date>2006-08-08T14:18:40-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#173356</link>
<description><![CDATA[<p>I was truly waiting for something like this, so thank you very much!! I'd like to share a few problems I ran into while installing this.</p>

<p>1. I have an all-static blog and the mtview.php file failed to be created when switching to "Set each template's Build Options separately". I had to create a static template for "myview.php" containing the following (found here: <a href="http://forums.sixapart.com/lofiversion/index.php/t49502.html).">http://forums.sixapart.com/lofiversion/index.php/t49502.html).</a></p>

<p>&lt;?php<br />
   include('&lt;$MTCGIServerPath$>/php/mt.php');<br />
   $mt = new MT(&lt;$MTBlogID$>, '&lt;$MTCGIServerPath$>/mt.cfg');<br />
   $mt->view();<br />
?></p>

<p>2. Setting "Set each template's Build Options separately" caused MT to create an .htaccess file in my blog's directory, and since I use a global .htaccess at my site's root (which does all kinds of redirects under my blog's path), I had to delete that and add the following to my own .htaccess.</p>

<p>RewriteRule ^mt/fastsearch$ /mt/mtview.php [L,QSA]</p>

<p>3. &lt;MTElse> doesn't seem to be supported, so I had to rewrite some things differently.</p>

<p>4. &lt;MTNoSearchResults> must be used after &lt;MTSearchResults>, not before.</p>

<p>5. Really DO rebuild all files, because that will create [redundant] entry data in the mt_fileinfo table, necessary for the PHP dynamic templates. If you have trouble with &lt;$MTEntryPermalink$> or if getting unexpected "Page not found" errors, rebuild.</p>

<p>It took me a while to figure out that last one especially, but otherwise it went ok and my search now works faster than ever!</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Patrick</dc:creator>
<dc:date>2006-08-09T05:19:53-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#173362</link>
<description><![CDATA[<p>Thanks for your detailed comments, Patrick.</p>

<p>1.  Regarding the mt-view.php file, it seems like you have have deleted this template in the past (because you don't need it for an all static blog).  When I installed Fast Search for MT Hacks, I had a similar problem, in which the mt-view.php template was previously set by me to NOt rebuild with indexes, and had never been built.  So I had to build manually.  Perhaps the plugin could check for these things -- at a minimum, a note about it in the Instructions may be helpful.</p>

<p>2.  Yes, setting build options seperately does create that .htaccess file.  In most cases, it plays nice with existing .htaccess files, but I have run into cases where I have needed to make modifications to get everything working.  I am not sure if this is avoidable, but do like your one-line rewrite rule, which is great for people who <em>only</em> have Fast Search as a dynamic page/template.</p>

<p>3. Regarding &lt;MTElse&gt;, I assume you are using this in conjunction with the &lt;MTSearchIfNextPage&gt; tag?  I will look into this, and may be able to add support for this in future.</p>

<p>4.  True, &lt;MTNoSearchResults&gt; does need to come after &lt;MTSearchResults&gt;.  This seems reasonable to me, as it is mutually exclusive to &lt;MTSearchResults&gt; -- are there cases where there would be advantages to reversing the order?  I should at least add a note about this in the instructions.</p>

<p>5.  Yes, I had the same confusion and problem intially.  It was only after digging in the PHP code for &lt;MTEntryPermalink&gt; that I relaized that it was looking for the link data from the FileInfo table, and that MT creates FileInfo records for every page in your blog, even if only one of them is set to dynamic publishing.  Seems a little odd, but the implication is that is important to do a full rebuild of all files after changing your dynamic publishing settings.   </p>

<p>Patrick, your implementation looks good.  It seems like you customized things to provide <a href="http://www.chipple.net/mt/search.php?search=tokyo">multiple-blog search results</a>.  I would be interested to hear how you set this up. ;)</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-08-09T06:32:06-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#173443</link>
<description><![CDATA[<p>Hey Mark, thanks for the reply!</p>

<p>1. You must certainly be right, I often delete stuff that I don't need (or think I need!). :)</p>

<p>3 and 4. I was using &lt;MTElse> with &lt;MTNoSearchResults>, so that I could include header and footer text to the results (other than the &lt;MTBlogResultHeader> which I used as a real per-blog header). My previous template was actually sort of like this (simplified):</p>

<p>&lt;MTNoSearchResults><br />
&nbsp; Sorry, no matches for "&lt;MTSearchString>".<br />
&lt;MTElse><br />
&nbsp; &lt;/h1>Search results for "&lt;MTSearchString>".&lt;/h1><br />
&nbsp; &lt;MTSearchResults><br />
&nbsp; &nbsp; &lt;MTBlogResultHeader>&lt;h2>&lt;$MTEntryBlog$>&lt;/h2>&lt;/MTBlogResultHeader><br />
&nbsp; ...<br />
&nbsp; &lt;/MTSearchResults><br />
&lt;/MTNoSearchResults></p>

<p>> Patrick, your implementation looks good. It seems like you customized things to provide multiple-blog search results. I would be interested to hear how you set this up. Wink</p>

<p>Actually I'm doing that with a rather patchy technique. That search.php script does HTTP requests to /mt/fastsearch, /mt/agenda/fastsearch (etc. for each of my blogs) and then outputs the results together. Each blog's fastsearch template is very minimal. You can see one's output here:<br />
<a href="http://www.chipple.net/mt/fastsearch?search=test">http://www.chipple.net/mt/fastsearch?search=test</a></p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Patrick</dc:creator>
<dc:date>2006-08-09T21:04:38-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#173480</link>
<description><![CDATA[<p>Regarding number 3 and 4, your example seems a little confusing, having a &lt;MTSearchResults&gt; inside a &lt;MTNoSearchResults&gt; tag.  However, I do see your challenge, regarding the multi-blog search hack you are doing.  it seems like you could achieve this by having the FastSearch template for the first blog to be like:</p>

<p>&lt;MTSearchResults><br />
&nbsp; &nbsp; &lt;MTBlogResultHeader><br />
&lt;h1>Search results for "&lt;MTSearchString>".&lt;/h1&gt;<br />
&lt;h2>&lt;$MTEntryBlog$>&lt;/h2>&lt;/MTBlogResultHeader><br />
&nbsp; ...<br />
&nbsp; &lt;/MTSearchResults><br />
&lt;MTNoSearchResults><br />
&nbsp; Sorry, no matches for "&lt;MTSearchString>".<br />
&lt;/MTNoSearchResults></p>

<p>... and the subsequent blogs would omit the &lt;h1&gt; part:</p>

<p>&lt;MTSearchResults><br />
&nbsp; &nbsp; &lt;MTBlogResultHeader><br />
&lt;h2>&lt;$MTEntryBlog$>&lt;/h2>&lt;/MTBlogResultHeader><br />
&nbsp; ...<br />
&nbsp; &lt;/MTSearchResults><br />
&lt;MTNoSearchResults><br />
&nbsp; Sorry, no matches for "&lt;MTSearchString>".<br />
&lt;/MTNoSearchResults></p>

<p>I was wondering if that was your approach to multi-blog search.  Perhaps the next version of Fast Search can incoporate multi-blog searching in one form or another...</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-08-10T07:41:25-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#174104</link>
<description><![CDATA[<p>I am not a developer, but just an FYI: At least in what I just downloaded, the directory structure is in correct. Shouldn't it be:</p>

<p>plugins<br />
--FastSearch<br />
php<br />
--Plugins</p>

<p>Right now the PHP files are in the php folder, and I know I couldn't get the forms to even load and got a bunch of smarty errors until I moved those files into the plugins folder.</p>

<p>Still working on getting it to work properly on my site, but after having trouble with mt-search for a long time, this will make me stupidly happy if I can get it to work :-)</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Jake</dc:creator>
<dc:date>2006-08-14T19:22:56-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#174106</link>
<description><![CDATA[<p>Thanks for reporting that issue with the directory structure in the zip file.  I was not aware that I didn't have the php files in a 'plugins' folder.  I have updated the zip file to fix this.</p>

<p>Please let me know if you need any help or advice with getting it working on your server.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-08-14T19:54:46-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#174108</link>
<description><![CDATA[<p>I actually figured out my problem, Mark, after digging through my ProNet email list archives. I had caching enabled in my mtview.php file, so it wasn't loading any search results. After I disabled caching line in there, it worked fine.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Jake Ortman</dc:creator>
<dc:date>2006-08-14T20:02:31-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#174112</link>
<description><![CDATA[<p>OK, one feature suggestion: provide some .htaccess examples on how we can make this even more of a drop-in replacement for mt-search.cgi so we can redirect requests to that file to fastsearch and get rid of that cgi resource hog.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Jake Ortman</dc:creator>
<dc:date>2006-08-14T20:22:37-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#174157</link>
<description><![CDATA[<p>Good to hear, Jake.  If you are interested, you will also find my solution for getting MT caching to play nice with Fast Search (<a href="http://www.sixapart.com/mailman/private/pronet/2006-August/005825.html">click for ProNet message</a> - <em>requires ProNet login</em>).</p>

<p>I will play around with .htaccess to see if I can come up with some rewrite rules.  Intially I was hoping to just override the &lt;MTSearchScript&gt; tag and point it to Fast Search, but the default templates preface this with the &ltMTCGIPath&gt; tag, which complicates things.  That said, there may be some rewrite solutions.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-08-15T07:50:28-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#174906</link>
<description><![CDATA[<p>Mark-</p>

<p>I'm trying to isntall FastSearch. Got to step 6 (Yes, I am on 3.2) and when I click the link I get the following:</p>

<blockquote>Can't call method "do" on an undefined value at /home/u2/dascalargo/html/mt/plugins/FastSearch/FastSearch.pl line 56.</blockquote>

<p>Any ideas?</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Dascalargo</dc:creator>
<dc:date>2006-08-21T14:19:28-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#174908</link>
<description><![CDATA[<p>Dascalargo, that section of the code relates to loading the database driver and executing some SQL code.  I am not sure exactly why you are getting this error.</p>

<p>Please forgive the obvious question: can you confirm that your installation of MT is using mySQL as a data source?  If you are not sure, look for an "ObjectDriver" line in your config file (either named mt.cfg or mt-config.cgi).</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-08-21T14:42:08-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#175008</link>
<description><![CDATA[<p>Mark, no need to apologize for the obvious question because it did need to be asked. I glossed right over the MySQL requirement, but I figured that much out before you had the chance to respond.</p>

<p>Yesterday afternoon I decided to try to migrate over to MySQL. A lot of this stuff is groping in the dark, learning as I go along, and I'd done pretty well... until now.</p>

<p>I got MySQL set up, no problem. Started the MT upgrade which transferred everything over, but it bombed out in the middle for some reason. I got some totally non-descript error message -- something akin to, "I'm afraid I can't do that, Dave," with no further explanation. Long story short, the MySQL database was corrupted and my MT password ceased working.</p>

<p>So... I'm starting from scratch, installing MT 3.3. I had been considering doing that anyway -- I originally installed MT a few years ago, when even more of this was trial-and-error for me, then upgraded to 3.2, and then moved the entire install to a new server, so the set-up was in desperate need of a clean-up anyway -- but I always talked myself out of it because of the work involved. Looks like I convinced myself. :D</p>

<p>Bottom line: Once I get MT installed (this time using MySQL), I'm going to try FastSearch again. I look forward to using it.</p>

<p>Sorry to have unnecessarily bothered you with this.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Dascalargo</dc:creator>
<dc:date>2006-08-22T09:08:59-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#175408</link>
<description><![CDATA[<p>Mark-</p>

<p>Finally got Fast Search to work with my new install of MT... sort of.</p>

<p>It seems to not see certain words. <em>Bat, Fox, Dog, between, able, two, first, something,</em> and <em>sent</em> are all words that appear in the main body of an entry, but which Fast Search doesn't see. I have rebuilt the site as well as building, rebuilding, and re-rebuilding the fulltext index, and it's always the same words that go unnoticed.</p>

<p>Here's something else I noticed in experimenting. I have the word <em>voice</em> in two entries, both of which Fast Search returns when I search on that word. Fast search finds neither <em>that</em> nor <em>to</em>, but it CAN differentiate between and find the correct entry if I search for the phrases <em>"voice that"</em> and <em>"voice to"</em>.</p>

<p>The page can be viewed at <a href="http://www.triviot.com/index2.php.">http://www.triviot.com/index2.php.</a> It's not live and the subsequent archives and search results pages have no styles applied to them yet.</p>

<p>I generally tend to think I did something wrong in these cases, but this time I'm stumped.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Dascalargo</dc:creator>
<dc:date>2006-08-24T12:51:21-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#175410</link>
<description><![CDATA[<p>Oh, and yes, I'm on MySQL this time. :D </p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Dascalargo</dc:creator>
<dc:date>2006-08-24T12:52:18-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#175412</link>
<description><![CDATA[<p>Damn. One more thing I meant to tell you...</p>

<p>On your default search results page, the courtesy link back to you is broken. Looks like you left off the dot-com.</p>

<p>Sorry to be flooding the comments.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Dascalargo</dc:creator>
<dc:date>2006-08-24T13:03:29-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#175436</link>
<description><![CDATA[<p>Thanks for the note regarding the error in that link -- I also received an email about that and it has now been fixed.</p>

<p>You description above about the search results is normal and to be expected. mySQL fulltext search excludes words less than 4 characters by default -- this is why searches for words like bat, fox, and dog don't work.  Furthermore, fulltext also excludes a list of "stop words", which likely include between, able, something, etc.  The goal in both cases  if to avoid really short or commmon words in order to return the most relevant results.</p>

<p>So you didn't do anything wrong.  Some people don't like the fact that you can't search for 3 letter words -- this can be changed in the mySQL config file, but unless you have a dedicated server, this may not be possible.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-08-24T14:59:05-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#175450</link>
<description><![CDATA[<p>Thanks, Mark. I'm totally new to MySQL, so was ignorant about stopwords and word length. I've since done a bit of research.</p>

<p>Yeah, I'd probably want to be allowed to search three-letter words if I had the option -- my database should be small enough that I don't think it would make a big difference in building the file -- but that option isn't available to me. As for the stopwords, I have no problem with the concept that it doesn't include certain words. I mean, in reality I never would search on the words I tested anyway. I did find a copy of the built-in stopwords list (which my server is using), and it helps to see what isn't on the list.</p>

<p>Thanks again. I'm up and running, and fully understanding now. I think I'm finally out of your hair. :wink: </p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Dascalargo</dc:creator>
<dc:date>2006-08-24T16:18:57-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#175826</link>
<description><![CDATA[<p>Quick question, I was using Joe D'Andrea's Seeker plugin which is quite similar to FastSearch. The only qualm I had with Seeker was that it couldn't log searches to the activity log, hence my question, does FastSearch like MT::App::Search log searches to the Activity Log?</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Arvind Satyanarayan</dc:creator>
<dc:date>2006-08-26T23:37:27-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#175858</link>
<description><![CDATA[<p>Hi Arvind,</p>

<p>Yes, Fast Search does log searches to the Activity Log.  Both 3.2 and 3.3 log formats are supported.  Logging is off by default but can be enabled on a per-blog basis (blog-level settings).  </p>

<p>Thanks for bringing to my attention the fact that I was not explicit about this above.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-08-27T06:59:01-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#176099</link>
<description><![CDATA[<p>Hi,</p>

<p>Can you provide installation instructions for lighty+fastcgi. We are currently getting 404 errors. Lighty will not recognise .htaccess files</p>

<p>Anish</p>

<p><br />
</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Anish</dc:creator>
<dc:date>2006-08-29T00:01:53-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179000</link>
<description><![CDATA[<p>I was able to follow all of the instructions on setting up FastSearch for my Movable Type installation, but after completing step 10 and doing a test search the page returns an error message of "Page not found - /fastsearch".</p>

<p>I've added the Rewrite ruled in my .htaccess file as mentioned by Patrick and I even see the query show up in my the Movable Type activity log, but FastSearch doesn't seem to work for me (even after rebuilding several times to update the fulltext index).</p>

<p>Any thoughts on what I might be doing wrong? The server is Red Hat Linux Enterprise running Apache 2.0 on one of Media Temple's dedicated virtual servers.</p>

<p>.htaccess:<br />
RewriteEngine on<br />
RewriteRule ^/fastsearch$ /mtview.php [L,QSA]</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Ryan J. Bonnell</dc:creator>
<dc:date>2006-09-14T16:42:43-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179020</link>
<description><![CDATA[<p>Ryan,</p>

<p>Given your description, you can try two things:</p>

<p>1) Try rebuilding all indexes.  However, it sounds like you have done this.</p>

<p>Is the "not found" page a standard apache 404 page, or does it look different?  Specifically, I am wondering whether this page is being generated by mtview.php.  If it is not, try the following:</p>

<p>2) Check to make sure that Apache is configured to allow the use of .htaccess files in the root directory of the web site.  Since this is a dedicated server, you should be able to check and change this, if necessary.  I recently came across this issue with a Fast search install.  The solution was to add the following to the apache config:</p>

<p><br />
    Options Indexes FollowSymLinks<br />
    AllowOverride All<br />
    Order allow,deny<br />
    Allow from all<br />
</p>

<p>"AllowOverride All" is the key line above.</p>

<p>If you can provide a link to your search form, I can confirm whether the "not found" page is being generated by mtview.php, or not.  If it is, it means that you .htacess is working fine, but the MT "FileInfo" record is not there.  In this case, make sure that you have completed step 7, check that your Dynamic publishing settings are set to "Set each template's Build Options separately".  As well, make sure that the Fast Search index template is present under Index Templates.  If it is not there, revist step 10:  Open the Fast Search settings once again and choose "Click here to install the default Fast Search Template."  In the Fast Search index template is there, make sure it is set to build dynamically.  Then rebuild indexes.</p>

<p>Please let me know if any of the above fixes the problem.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-09-14T20:02:26-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179455</link>
<description><![CDATA[<p>I must have missed something. I followed your instructions and yet I'm getting 404 Not Found errors whenever I try a Fast Search. Have a look at <a href="http://www.bowjamesbow.ca/blog.shtml">http://www.bowjamesbow.ca/blog.shtml</a></p>

<p>Any suggestions appreciated.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>James Bow</dc:creator>
<dc:date>2006-09-17T12:04:28-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179481</link>
<description><![CDATA[<p>Finally!! A search for Movable Type that WORKS!!</p>

<p>Thanks - I'll be installing it on all of my blogs</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Jim</dc:creator>
<dc:date>2006-09-17T18:33:32-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179490</link>
<description><![CDATA[<p>James,</p>

<p>It seems like you may be missing the "Dynamic Site Bootstrapper" (mtview.php) index template -- or, this index template has not been built.  If you see this under index templates, rebuild it.  If not, you need to create it.  Name it "Dynamic Site Bootstrapper" and use output file "mtview.php".  You can grab the default template from <a href="http://www.sixapart.com/movabletype/default_templates_32/dynamic_site_bootstrapper.txt">here</a>.  This template does not need to be "rebuilt with indexes", but be sure to build it at least once.</p>

<p>Let me know if this doesn't work...</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-09-17T19:52:24-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179505</link>
<description><![CDATA[<p>Does the Dynamic Site Bootstrapper have to be published dynamically, or should it be static?</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>James Bow</dc:creator>
<dc:date>2006-09-17T22:21:35-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179514</link>
<description><![CDATA[<p>Okay, I don't know what I did (constantly switching mtview.php and fastsearch between static and dynamic and rebuilding), but it works now. </p>

<p>A relief too. Much better search method. </p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>James Bow</dc:creator>
<dc:date>2006-09-17T23:14:04-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179515</link>
<description><![CDATA[<p>I thought I should let you know that the plugin doesn't play nice with markdown and smartypants and any posts which are formatted using these plugins chokes the search. But this is easily fixed by adding the variable convert_breaks="1" in the EntryExcerpt field.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>James Bow</dc:creator>
<dc:date>2006-09-17T23:33:45-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#179521</link>
<description><![CDATA[<p>Mark,You've done a great job in Fast Search but the fact is that it is only working in Latin alphabets. I'm not very professional in php but it seems that you've used some functions that do not support 2-byte characters in UTF-8 format. Most of non-Latin languages are using this type of 2-byte chars and your search plugin is not working in these languages.</p>

<p>I want to know if you can do me and a lot of others, who are using MT to publish weblogs in non-Latin alphabets, a favour by solving this issue. I'm eager to donate some if you can solve this problem. besides I know a lot of other who are capable of donating more if you end this search nightmare for them.</p>

<p>Waiting to hear good news from you. </p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Aziz Ashofte</dc:creator>
<dc:date>2006-09-18T01:51:08-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#180606</link>
<description><![CDATA[<p>I'm getting this error:</p>

<p>SQL/DB Error -- [You have an error in your SQL syntax near 'BOOLEAN MODE) AS score FROM mt_entry, mt_author WHERE entry_blog_id IN (1) AND e' at line 1]</p>

<p>I'm using the MT 3.33 on a MySQL database. Can't figure out what is wrong. I do see the fastsearch page, I do see a search box and I also see the error mentioned above. Is it a MT 3.33 problem? I have rebuilded the fulltextsearchindexthingie and my whole blog.<br />
</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>George</dc:creator>
<dc:date>2006-09-27T04:18:30-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#180622</link>
<description><![CDATA[<p>George, what version of mySQL are you running?  This error sounds like you are using an old version of mySQL, that does not support fulltext searching.  As stated above, mySQL 4.0.1 or higher is required for the current version of Fast Search.  However, an upcoming release of Fast Search may support older version of mySQL. Stay tuned. </p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-09-27T07:05:58-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#180726</link>
<description><![CDATA[<p>Hi Mark,</p>

<p>Oops. I'm using the 3.23.58 version. Going to kick my provider :-)</p>

<p>Thanks!</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>George</dc:creator>
<dc:date>2006-09-28T04:21:00-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#180879</link>
<description><![CDATA[<p>Hi Mark,</p>

<p>I noticed there is a next page tag but I was wodering if in the future you plan to include a previous tag or why not some pagination numbers ala Google. </p>

<p>This is such a huge improvement from the search.cgi that I hope Six Apart implements this in their next major release!</p>

<p>Thanks.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Diego</dc:creator>
<dc:date>2006-09-29T11:59:51-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#180895</link>
<description><![CDATA[<p>Hi Mark,</p>

<p>Weird question: is there any restricted English words that won't appear in the search results page?</p>

<p>I'm having a problem with the word "associated". I've created an entry with the text below:</p>

<p>"an association of associates. associate.  associater. associated. asociated." </p>

<p>and all the words can be found except "associated". I'm quite confused about this.</p>

<p>Do you have any suggestions or has anyone had a similar issue?</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Diego</dc:creator>
<dc:date>2006-09-29T13:26:02-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#180898</link>
<description><![CDATA[<p>I just realised that the issue with some words has to do with mySQL stop words (As somebody pointed out previously).</p>

<p>For those interested, the link to the full list is below:<br />
<a href="http://dev.mysql.com/doc/refman/5.0/en/fulltext-stopwords.html">http://dev.mysql.com/doc/refman/5.0/en/fulltext-stopwords.html</a></p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Diego</dc:creator>
<dc:date>2006-09-29T13:52:23-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#180927</link>
<description><![CDATA[<p>Hi Diego,</p>

<p>With respect to a "previous" tag, yes, I think that is something that I could add in future.</p>

<p>Regarding the pagination numbers, this is possible, but I decided against it, as it could affect perfomance.  The challenge pagination numbers is that you need to know the total number of search results -- and this would require another "count" query.  I'm not a mySQL expert, so I am not sure <em>how much</em> this would impact performance, but with blogs with many entries, it might.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-09-29T17:26:20-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#181120</link>
<description><![CDATA[<p>Hi Mark,</p>

<p>Thanks for coming out with such a useful plugin. I was dissapointed at the speed of search.cgi in MT 3.3 too.</p>

<p>I managed to install the plugin but the fastsearch template breaks with some MT tags. I can get a full list of search results if I only list the &lt;MTEntryTitle&gt; or &lt;MTEntryDate&gt; tag in the template but the results break on the first one if I want to include &lt;MTEntryExcerpt&gt; or &lt;MTEntryBody&gt;. My entries are stored in a MySQL database.</p>

<p>Any thoughts? Thanks a lot!</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Rich</dc:creator>
<dc:date>2006-10-01T05:44:07-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#181125</link>
<description><![CDATA[<p>Rich,</p>

<p>That's a strange one.  Being a php plugin, Fast Search won't support many tags from other non-php <em>plugins</em>, BUT it does support core MT tags such as MTEntryExcerpt and MTEntryBody.  Both of these have been tested and work fine in the search results.  Can you provide an example of an error message?  Or perhaps a link to your search form?</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-10-01T08:22:28-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#181206</link>
<description><![CDATA[<p>> Regarding the pagination numbers, this is possible, but I decided against it, as it could affect perfomance.</p>

<p>MySQL has a SQL_CALC_FOUND_ROWS keyword that seems to makes this doable in a more efficient way than doing a separate COUNT().</p>

<p><a href="http://dev.mysql.com/doc/refman/4.1/en/information-functions.html#id2826088">http://dev.mysql.com/doc/refman/4.1/en/information-functions.html#id2826088</a><br />
Some PHP related comments are here:<br />
<a href="http://www.php.net/manual/en/function.mysql-num-rows.php">http://www.php.net/manual/en/function.mysql-num-rows.php</a></p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Patrick</dc:creator>
<dc:date>2006-10-01T21:32:52-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#181293</link>
<description><![CDATA[<p>Patrick, that sounds interesting, thanks for the pointer.  I will try this out for the next version.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-10-02T13:37:17-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#181608</link>
<description><![CDATA[<p>Hi Mark,</p>

<p>When I was validating the fast search results page with the html validator at <a href="http://validator.w3.org/">http://validator.w3.org/</a> I got some errors due to encoding (My page's xhtml).</p>

<p>By encoding the ampersands in block.MTSearchResults.php line 100 as below the validation passes.</p>

<p>$next = <br />
$uri[0]."?query=".urlencode($query)."&amp;category=".$category."&amp;order=".$order."&amp;lastn=".$lastn."&amp;offset=".$offset;</p>

<p>Hope it helps. </p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Diego</dc:creator>
<dc:date>2006-10-05T10:48:51-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#182226</link>
<description><![CDATA[<p>Thanks for all the suggestions in this discussion.  Many of them have lead to new features, which have just been released in version 1.5.</p>

<p><a href="http://mt-hacks.com/20061007-fast-search-v15-several-new-features.html">Click here for deatils about Fast Search v1.5</a>.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-10-09T11:04:45-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#182639</link>
<description><![CDATA[<p>James, I have move your comment over to the v1.5 discussion - see my response there.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-10-12T10:14:48-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#188377</link>
<description><![CDATA[<p>Warning: main(): open_basedir restriction in effect. File(/var/www/vhosts/tracli.net/cgi-bin/mt8/php/mt.php) is not within the allowed path(s): (/var/www/vhosts/tracli.net/httpdocs:/tmp) in /var/www/vhosts/tracli.net/httpdocs/test8/mtview.php on line 2</p>

<p>Warning: main(/var/www/vhosts/tracli.net/cgi-bin/mt8/php/mt.php): failed to open stream: Operation not permitted in /var/www/vhosts/tracli.net/httpdocs/test8/mtview.php on line 2</p>

<p>Warning: main(): Failed opening '/var/www/vhosts/tracli.net/cgi-bin/mt8/php/mt.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/vhosts/tracli.net/httpdocs/test8/mtview.php on line 2</p>

<p>Fatal error: Cannot instantiate non-existent class: mt in /var/www/vhosts/tracli.net/httpdocs/test8/mtview.php on line 3</p>

<p>error -_-" why not </p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Anonymous</dc:creator>
<dc:date>2006-11-17T03:05:52-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#191948</link>
<description><![CDATA[<p>I'm testing fastsearch for a non-profit site I help out. I'm getting this error from the default template:</p>

<p>    SQL/DB Error -- [You have an error in your SQL syntax near ' MATCH (entry_title, entry_text, entry_text_more, entry_keywords ) A' at line 1]</p>

<p>    SQL/DB Error -- [You have an error in your SQL syntax near '()' at line 1]</p>

<p>Any idea what might cause this?</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Kyle</dc:creator>
<dc:date>2006-12-11T18:43:47-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#192026</link>
<description><![CDATA[<p>Kyle, you will need to provide more details.  Whate version of mySQL are you using?  What FastSearch mode?  My guess is that you are using an old version of mySQL (older than 4.0.1) and that you are using the Fulltext method.  If both are true, try switching to the "Non-fulltext" method.  Older versions of mySQL don't support Fulltext.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-12-12T06:50:30-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#192131</link>
<description><![CDATA[<p>Looks like we have MySQL 2.1021. Yes, it was set to Fulltext mode. We're using Media Temple. You'd think it would be more current. </p>

<p>I changed the settings to "non-fulltext" and rebuilt the FastSearch Index and now the error looks like this:</p>

<p>    SQL/DB Error -- [You have an error in your SQL syntax near 'DISTINCT * FROM mt_entry left outer join mt_placement on ' at line 1]</p>

<p>    SQL/DB Error -- [You have an error in your SQL syntax near '()' at line 1]</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>kyle</dc:creator>
<dc:date>2006-12-12T17:34:25-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#192186</link>
<description><![CDATA[<p>I'd tend to think that those DISTINCT's aren't necessary, so you could try removing them from the file block.MTSearchResults.php.</p>

<p>However, the version of MySQL you're using really is very old, and you might run into other problems.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Patrick</dc:creator>
<dc:date>2006-12-12T22:15:14-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#192274</link>
<description><![CDATA[<p>Kyle, I googled for that version of mySQL, but instead I found aversion of the <a href="http://www.annocpan.org/~JWIED/DBD-mysql-2.1021" rel="nofollow">Perl DBD:mySQL lib</a> with that exact version.  It seems like you have given me the version of the perl module, not for mySQL itself.  It is highly unlikely that mediatemple would be using anything older that v3x.  </p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-12-13T09:14:42-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#192301</link>
<description><![CDATA[<p>Sorry, that's what mt-check.cgi said. In phpMyAdmin it says: "MySQL 3.23.58 running".</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>kyle</dc:creator>
<dc:date>2006-12-13T12:58:02-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#192441</link>
<description><![CDATA[<p>Thanks, Kyle.  I think I have figured out the problem.  To reply to Patrick's comment, it doesn't seem like it has anything to do with the DISTINCT keyword, but rather the keyword that precedes it the query:  SQL_CALC_FOUND_ROWS.  I just looked it up and indeed it is only available in mySQL v4+.  I used this to help calculate the total number of results for a particular search.  It's more efficient that way.  In a future version, I may be able to work around this for people running olders versions of mySQL -- the perfomance won't be as good, but it will still be better than the MT built-in search.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2006-12-14T12:54:16-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#192513</link>
<description><![CDATA[<p>Oops, sorry about that wrong diagnostic.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Patrick</dc:creator>
<dc:date>2006-12-14T20:53:31-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#193219</link>
<description><![CDATA[<p>I have had FastSearch implented for about two weeks, and now visitors are getting this error when attempting to search:</p>

<p>Parse error: parse error, unexpected \'{\', expecting \')\' in /home/slobokan/public_html/cgi-bin/mt/php/extlib/smarty/libs/Smarty.class.php(1936) : eval()\'d code on line 35</p>

<p>I have not made any modifications to any of the mt files, or the fast search, since installation, and it used to work just fine.</p>

<p>Any ideas?</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Slobokan</dc:creator>
<dc:date>2006-12-19T15:42:44-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#194731</link>
<description><![CDATA[<p>Mark, I switched over to Media Temple's Grid Server which has MySQL 4.11 and everything is working perfectly. Thanks for your help.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>kyle</dc:creator>
<dc:date>2006-12-28T01:45:47-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#195024</link>
<description><![CDATA[<p>The script has been working great except for one issue, when it finds entries that are formatted using the textile2 plugin I get this error on the results page:</p>

<p><code>Smarty error: [plugin] modifier 'textile_2' is not implemented (core.load_plugins.php, line 118)</code></p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>kyle</dc:creator>
<dc:date>2006-12-29T15:42:01-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#195250</link>
<description><![CDATA[<p>OK. I downloaded and installed the PHP version of MT-Textile2 from<a href="http://www.movalog.com/archives/dynamic/breaking-plugins">here</a> and I no longer get the Smarty error.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>kyle</dc:creator>
<dc:date>2006-12-30T23:32:41-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#200389</link>
<description><![CDATA[<p>This is excellent... any way to implement the feeds from search terms feature found in the default template? </p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>raul Gutierrez</dc:creator>
<dc:date>2007-01-24T23:05:50-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#200454</link>
<description><![CDATA[<p>raul,</p>

<p>Yes, it is possible. </p>

<p>Just create a second index template for the Feed template, using the Fast Search template tags as appropriate.  You could start with the default RSS or Atom template, or even with the 3.3 search feed template code.  Either way, you will have to modify/remove tags as appropriate.  A future version of Fast Search may have "built-in" support for search feeds.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2007-01-25T08:57:39-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#200955</link>
<description><![CDATA[<p>Hello ,<br />
i want to use my from for search Multi Blog with one form , please give me that Code ,<br />
for example for search blogs with "1" "3" "6" id with one form.</p>

<p>Thank you.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Smaty</dc:creator>
<dc:date>2007-01-27T12:05:02-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#201883</link>
<description><![CDATA[<p>I love fastsearch... it really does improve performance over here on our internal blog with almost 9000 entries.</p>

<p>My question: does fastsearch support mt 3.34s tags and if so what code would we use to update a tag listing like this:</p>

<p>&lt;MTEntryIfTagged><br />
            &lt;a>TAGS: &lt;/a>&lt;MTEntryTags glue=", ">&lt;a href="&lt;$MTTagSearchLink$>">&lt;$MTTagName$>&lt;/a>&lt;/MTEntryTags>&lt;/MTEntryTags>        			&lt;MTElse><br />
        			&lt;/MTElse><br />
        			&lt;/MTEntryIfTagged></p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>jim</dc:creator>
<dc:date>2007-01-30T15:51:24-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#202059</link>
<description><![CDATA[<p>Smaty, you would use &lt;MTSearchResults blogs="1,3,6"> in your Fast Search template.  Or, place &lt;input name="blogs" type="hidden" value="1,3,6"> in your form.</p>

<p>jim, as stated above, the current version of Fast Search does not support tag searches (MT 3.3+).  That may be added in a future version.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2007-01-31T08:31:35-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#202776</link>
<description><![CDATA[<p>Last September I added automatic tagging to my personal MT-powered blog and used MT-Search and the htaccess trick mentioned in <a href="http://www.sixapart.com/movabletype/beta/2006/06/everybody_loves_tags.html" rel="nofollow">SixApart's tagging post</a> (scroll to the "Beautifying the tag search link URLs"). The results were beautiful: Google visits more than doubled.</p>

<p>Unfortunately MT-Search wasn't up for the extra load and my server started crashing once a week. I installed FastSearch and it's <i>almost perfect</i>. The problem I'm having is that links to domain.com/tag/whatever now get rewritten as domain.com/fastsearch?query=whatever. Is there any way to "beautify" the FastSearch result. I think the short URLs really matter. This may just be my ignorance of how htaccess works, but for the life of me I can't figure this out. </p>

<p>More about how I've pulled this altogether on <a href="http://www.martinkelley.com/blog/2006/09/i_am_the_king_of_folksonomy.php" rel="nofollow">this immodestly named post</a> on my design blog. Thanks for a great plug-in and thanks everyone for any answers to my problem.<br />
Martin</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Martin Kelley</dc:creator>
<dc:date>2007-02-02T23:31:20-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#204038</link>
<description><![CDATA[<p>Found a slight ordering issue with the MTSearchResults tag.</p>

<p>default is: relevance=1 and google_results=1</p>

<p>The problem with relevance currently is that it looks at all the entries with "all the keywords" then it looks at single keywords.  But when grouping the entries, it reads oldest to newest.   Most search results give you "latest by date" first since that's what you're looking for, not the oldest post.<br />
</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>darkmoon</dc:creator>
<dc:date>2007-02-07T07:14:32-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#204047</link>
<description><![CDATA[<p>Martin, automatic tagging technique is very cool.  As long as you are not using MT3.3 built-in tags feature, you will be able to search using Fast Search will search the entry, extended entry, excerpt and keywords fields, but not (yet) the Tags field.</p>

<p>That said,the other issue if the URL rewriting make nice looking URLs like domain.com/tag/something. Unforunately, due to the way that MT dynamic publishing works, when you try to do this kind of thing, it does not work as you would expect.  This is a pet peeve of mine because it does not support .htaccess URL rewriting like this.  In future, I plan to release a modified version of the MT.php file that will support -- if it works, it will enable you do what you are trying to do.  Look for this in conjucntion with the release of Fast Search 2.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2007-02-07T08:12:30-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#204657</link>
<description><![CDATA[<p>I just moved my site.   The fastsearch is now a blank page.   Any ideas on what the issue or error is?   Is this another dynamic publishing issue?</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>darkmoon</dc:creator>
<dc:date>2007-02-09T09:40:03-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#204759</link>
<description><![CDATA[<p>Fixed.</p>

<p>Also found a slight bug in the fastsearch template.</p>

<p>Right above the search results, if you try to search again, it fails.  I changed it to show the following and it works now:</p>

<p><br />
      fastsearch.php"><br />
         " /><br />
         Search this site:<br />
         <p>" /><br />
         <br />
      </p>

<p><br />
</p></p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>darkmoon</dc:creator>
<dc:date>2007-02-09T14:26:20-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#204761</link>
<description><![CDATA[<p>Bleh.  hopefully this posts this time:</p>

<p>      &lt; form method="get" action=" &lt;$MTBlogURL&gt;fastsearch.php"&gt;<br />
         &lt;input type="hidden" name="IncludeBlogs" value="&lt;$MTBlogID$&gt;" &gt;<br />
         &lt;label for="search" accesskey="4"&gt;&lt;h3&gt;Search this site:&lt;/h3&gt;&lt;label&gt;<br />
         &lt;p&gt;&lt;input id="search" name="search" size="30"  value="&lt;$MTSearchString$&gt;" &gt;<br />
         &lt;input type="submit" value="Search" &gt;<br />
      &lt;/form&gt;<br />
</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>darkmoon</dc:creator>
<dc:date>2007-02-09T14:43:37-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#205340</link>
<description><![CDATA[<p>Hi darkmon, glad its working.  That's not a bug, however.  The search didn't work because you changed the output file name of the fastsearch template.  The default is "fastsearch" (no extension), and its seems like you changed it to "fastsearch.php".  It's okay to change the filename like this, but you do need to make sure that all search forms reflect this change. ;)</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2007-02-11T08:37:03-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#205372</link>
<description><![CDATA[<p>Really?  Because I checked the template after I changed the output of the file name.   It would not IncludeBlog at all, nor was there a way to do tell it what to search.</p>

<p>Which is why I edited the template itself.</p>

<p>The search form which is given above is fine, but there is nothing about changing the template itself.   The above code is actually right in the middle of the fastsearch template.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>darkmoon</dc:creator>
<dc:date>2007-02-11T10:24:23-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#205457</link>
<description><![CDATA[<p>Sorry, darkmon, I guess I missed the "bug" you were talking about.  You don't need the IncludeBlogs argument -- the plugin knows what blog it is based on the context on the search results page (meaning, since the plugin knows the template being displayed is from blog 2, the results will be limited to blog 2).  </p>

<p>The only time IncludeBlogs is required is when you are searching one or more blogs other than the blog where fast search template lives.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2007-02-11T16:14:40-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#205541</link>
<description><![CDATA[<p>You asked for suggestions for Fast Search:</p>

<p>1. AND! </p>

<p>2. Support for custom mysql entries like those added by Right Fields.</p>

<p>3. Full support for tags.</p>

<p>4. Multiblog results</p>

<p>I'd suggest setting the default search results to AND and 'by date'.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>lisa</dc:creator>
<dc:date>2007-02-11T20:38:41-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#205650</link>
<description><![CDATA[<p>Strange.  I don't know why it didn't work then when I didn't include the Include Blog tag.  For whatever reason, if you just copy the search form and edit it to the template (which is what the above is), then it works well.</p>

<p>When I just left it as default, it would give blank query strings.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>darkmoon</dc:creator>
<dc:date>2007-02-12T09:02:44-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#205900</link>
<description><![CDATA[<p>Hey there,<br />
I've installed FastSearch on a site and have it set to display results according to relevance. For some reason, it doesn't seem to be working completely. </p>

<p>The results aren't displaying by date but not totally by relevance either. </p>

<p>I know this because, for example, when I do a search for "pies." There are five listings that come up. If I update one of the listings and add information about different pies, the order of the search results doesn't change.</p>

<p>If I remove all mentions of pies from a listing, it doesn't show up in the search results any longer.</p>

<p>I added one new listing for a pie shop, with lots of listings of pies, and it shows up at the bottom of the search results. </p>

<p>I guess I'm wondering what FastSearch uses to determine relevance? </p>

<p>Any thoughts? I've been doing lots of tests and am not having much luck. Any help would be greatly appreciated!</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Trevor</dc:creator>
<dc:date>2007-02-12T20:52:23-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#206008</link>
<description><![CDATA[<p>Trevor, Fast Search used the relevance algorithms built-in to mySQL when used with fulltext indexing.  More info can be found <a href="http://dev.mysql.com/doc/refman/4.1/en/fulltext-search.html">here</a>, but here is a quote from that page:</p>

<p>" Every correct word in the collection and in the query is weighted according to its significance in the collection or query. Consequently, a word that is present in many documents has a lower weight (and may even have a zero weight), because it has lower semantic value in this particular collection. Conversely, if the word is rare, it receives a higher weight. The weights of the words are combined to compute the relevance of the row. Such a technique works best with large collections (in fact, it was carefully tuned this way). For very small tables, word distribution does not adequately reflect their semantic value, and this model may sometimes produce bizarre results."</p>

<p>It's not Google-quality relevance, but in general it seems to work pretty good.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2007-02-13T08:14:34-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#206087</link>
<description><![CDATA[<p>Hey Mark,<br />
Thanks for your answer. Does FastSearch put more or less weight on keywords vs entry vs tags? Does it use one of those fields or all of them?</p>

<p>Would the length of the search word make a difference? When I search for the word "pie" using Fulltext mode, no entries are found even though I have one listing with the word "pie" in it. When I use Fallback, a whole bunch of listings are found that include "pie" as part of other words.</p>

<p>Basically, my client is doing searches on businesses listed on his site and is bothered that the most relevant businesses are showing up closer to the bottom than the top. </p>

<p>ANY help you can give would be greatly appreciated. I've spent a lot of time on this and I feel like I'm getting nowhere.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Trevor</dc:creator>
<dc:date>2007-02-13T11:59:48-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#206164</link>
<description><![CDATA[<p>Fast Search will search the Title, entry, extended entry, excerpt, and keywords fields.  Keywords found within those would be treated equally by mySQL.</p>

<p>With mySQL fulltext search, words less than 4 charaters long are not indexed, that's why they show zero results.  If you have access to the mySQL config files, you can change this setting.  When you use "Fallback", Fast Search will fallback to a non-fulltext search, which does allow 3 letter words, including partial words, etc.</p>

<p>MySQL relevance is what it is, so its tough to change that.  If you are on a dedicated server, you could tweak some seeting as mentioned <a href="http://dev.mysql.com/doc/refman/4.1/en/fulltext-fine-tuning.html">here</a>.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2007-02-13T15:05:52-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#206998</link>
<description><![CDATA[<p>Hello Mark , Thank you.<br />
I try it but its dont work.<br />
Can you please give me an example?</p>

<p>Mark :<br />
Smaty, you would use  in your Fast Search template</p>

<p><br />
My Form :</p>

fastsearch">
    Search this blog:<br />
    
    
]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Smaty</dc:creator>
<dc:date>2007-02-15T22:16:46-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#207097</link>
<description><![CDATA[<p>Smaty, as stated previously one way to do this is to use the following form code:</p>

<p>&lt;form method="get" action="&lt;$MTBlogURL$>fastsearch"><br />
   &lt;label for="query" accesskey="4">Search this blog:&lt;/label>&lt;br /><br />
   <b>&lt;input name="blogs" type="hidden" value="1,3,6"></b><br />
   &lt;input id="query" name="query" size="20" /><br />
   &lt;input type="submit" value="Search" /><br />
&lt;/form></p>

<p>Notice the line in bold above.  Edit the 1,3,6 to have the blog_ids of the blogs that you want the form to search.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2007-02-16T07:15:16-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#207377</link>
<description><![CDATA[<p>Dear Mark,<br />
Thank you veru much.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Smaty</dc:creator>
<dc:date>2007-02-17T09:16:52-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#209907</link>
<description><![CDATA[<p>For future updates I'd like to put in my vote for including AND searching. We're developing a new website in MT right now while I love most things about fast search (love the speed and the server efficiency), without AND as the standard setting we're going to stick with the default MT search... most of the searches we get are two word searches and without AND there are just too many bad results returned. Also I believe that this is how people expect search to work as this is how google, yahoo, spotlight and now vista return results.</p>

<p>Support for custom mysql fields would also be great although I understand why this would be a low priority.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>reeves</dc:creator>
<dc:date>2007-02-22T13:22:29-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#209924</link>
<description><![CDATA[<p>Thanks for the comments, reeves.</p>

<p>A few things to note:</p>

<p>The "non-fulltext" search mode does currently default to AND searching -- only results with all keywords will be returned.  And its still pretty fast compared to the built-in search.  You should try it. (Fast Search v1.5+)</p>

<p>The fulltext mode also supports AND -type searching, but not by default.  You currently need to preface each word with a + to required that keyword to be present.  A future version of Fast Search may include an option for searches to default in this way, only displaying results that contain all keywords.  <a href="http://dev.mysql.com/doc/refman/4.1/en/fulltext-boolean.html">Click for a description of the AND/OR operators currently supported</a>.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2007-02-22T13:56:31-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#210036</link>
<description><![CDATA[<p>templates_c is 777 and fully writable,<br />
unfortunately is a high level of danger.<br />
hackers can upload any files such as php shell script, with other accounts on shared servers.</p>

<p>what is solution?</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Smaty</dc:creator>
<dc:date>2007-02-22T18:46:52-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#214323</link>
<description><![CDATA[<p>For some unknown reason the hosting company that I use doesn't all .htaccess files to be created on their servers.  It there a way to get around this with installing Fast Search?</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Patrick</dc:creator>
<dc:date>2007-03-03T21:17:59-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#214329</link>
<description><![CDATA[<p>Well, Patrick, it may be time to find a new host.  Not allowing .htaccess can limit you in many ways.</p>

<p>Does your host allow custom error pages? If so, you may be able to assign mtview.php as the custom 404 page not found error page.  This would work.  Apart from that, I can't think of a way to do it without .htacess.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2007-03-03T21:37:00-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#223254</link>
<description><![CDATA[<p>Greetings Mark, I downloaded and installed Fast Search today on my blog so that I could use it to paginate my search results and tag results (tags are a great addition btw) and I have paid for the use as a business :)</p>

<p>The search function is working great and I have been able to customize the templates to some degree but there is one thing I cannot seem to fix and I was hoping you might help me. I use another plugin called Right Fields <a href="http://www.staggernation.com/mtplugins/RightFields">http://www.staggernation.com/mtplugins/RightFields</a> which allows me to create my own tags.</p>

<p>The challenge is that your Fast Search plugin does not recognize the Right Fields plugin tags that I have created and am displaying in my search results and it throws an error (whereas the original mt-search.cgi does not)... For this reason I cannot use your search at all on my site because the extra Right Fields tags are critical to the design. Also note, if you visit my site, I am using the Google Site search utility, tags are really the only way I am "searching" with your or MT search utilities.</p>

<p>At this point I have reset my search to the old MT version so that I don't get the error. You can visit my search results page at <a href="http://www.abstractmall.com/mt/mt-search.cgi?tag=men&blog_id=1">http://www.abstractmall.com/mt/mt-search.cgi?tag=men&blog_id=1</a> to see how it should or would look. An example of the Right Tags that throw off your results is </p>

<p>Note: all of the t-shirt images and hover images are being brought in with Right Fields, if you could add compatibility for this plugin to your search plugin I would most appreciate it!</p>

<p>Also, how do you get your link to PayPal to land on the "enter credit card" page instead of the login page? I am using PayPal standard and I assume you are too?</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Court</dc:creator>
<dc:date>2007-04-07T16:31:58-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#230746</link>
<description><![CDATA[<p>We've had fastsearch running for a few months and all of a sudden last night it stopped working. No code was changed that I'm aware of and the fastsearch page is accessible directly, but submitting search terms results in a blank page. The only assumption I have is that maybe something was entered in a post that might be causing some "indigestion", but I don't know where to start trying to troubleshoot.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>kyle</dc:creator>
<dc:date>2007-05-09T14:41:55-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#231675</link>
<description><![CDATA[<p>I think the host recently updated to PHP v4.4.6 around the time fastsearch stopped working. The host claims they didn't do anything but the <code>phpinfo();</code> notes the update. Would anything be effected by that? I uninstalled and reinstalled and still get a blank page.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>kyle</dc:creator>
<dc:date>2007-05-13T23:08:48-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#231921</link>
<description><![CDATA[<p>I've installed FastSearch but have come to a problem.  When I try a search, the search string is in the address bar, but the page displays Searched for "" . No entries found.</p>

<p>I've tried a few different form methods but nothing seems to work.  Oh and i've rebuilt a lot and reindexed a few times too.</p>

<p>thanks,</p>

<p>karim</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Karim</dc:creator>
<dc:date>2007-05-15T07:08:48-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#234314</link>
<description><![CDATA[<p>Just to follow up, I switched hosts (from Hosting Matters to Dreamhost). Dreamhost is running PHP v4.44 (and their support seems much more professional, FYI) and fastsearch is working perfectly there, so I don't know if it was PHP v4.4.6 that was the problem or the host screwing something up behind the scenes. Either way we're good.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>kyle</dc:creator>
<dc:date>2007-05-30T15:31:48-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#234418</link>
<description><![CDATA[<p>Good, to hear, Kyle.  Sorry for missing your earlier comments from a few weeks ago.</p>

<p>For what its worth, I have some site on both dreamhost and hosting matters, and they are both generally pretty with MT, but I haven't tested Fast Search on either of them (yet).</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2007-05-31T12:56:00-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#234488</link>
<description><![CDATA[<p>Thanks for replying Mark. I spoke a bit too soon. Right now I'm getting intermittent results. The fastsearch page always comes up now (no more blank pages) and it works intermittently (I do get results when the search string is passed on), but it is also returning this:</p>

<p>Searched for ""</p>

<p>No pages were found containing "".</p>

<p>when there was definitely text entered. I've recreated files, reuploaded, checked permissions, etc. So something is causing the  search string to vanish.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>kyle</dc:creator>
<dc:date>2007-05-31T23:31:31-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#234510</link>
<description><![CDATA[<p>Kyle, that is strange.  I just tested it on your site, with the same intermittent problem.  About 75% of the time it worked fine but the rest had the blank query problem.  Seems similar to what Karim described above.</p>

<p>I am not sure what might be causing this.  Can you confirm which version of Fast Search your are using? Version of MT (though I doubt it matters in this case)?</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2007-06-01T06:21:32-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#234537</link>
<description><![CDATA[<p>Sure. I am using Fast Search 2.07 with MT3.35. Just in case, PHP v4.44 and MySQL is 5.0.24a. Thanks for looking into it.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>kyle</dc:creator>
<dc:date>2007-06-01T11:05:36-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#235425</link>
<description><![CDATA[<p>I just noticed Dreamhost updated to PHP 4.4.7. I'm not sure when they did this. I wonder if it relates to when Fast Search started working intermittently.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>kyle</dc:creator>
<dc:date>2007-06-07T12:14:40-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#239529</link>
<description><![CDATA[<p>Suggestion: I've had some problems with malicious spammers and people trying to do DOS attacks and I've noticed a new attack technique is to run scores of searches for the same random string of letters.  Might be useful if we had a way to deny multiple searches for the same string in very short intervals especially when they come from the same IP address.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>raul</dc:creator>
<dc:date>2007-07-04T19:03:35-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#239569</link>
<description><![CDATA[<p>I see it's been mentioned previously, but will it possible in future versions to search fields added through the Extra Fields plugin? I've just set up Fast Search on a new design and made that realization. </p>

<p>I am very happy with the ease of the plugin, but if it can't use it to search the additional fields I have, I'll have to go back to the default cgi search.  :-( </p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>kb</dc:creator>
<dc:date>2007-07-05T05:08:23-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#239870</link>
<description><![CDATA[<p>raul, that is a good suggestion, but it might be tough to do. I will give it some thought.</p>

<p>kb, that one is also tough to support, because there are at least 3 different plugins that provide extra fields, and it might be cumbersome to support all three.  Perhaps, add-on module could be created for each to support such searches.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Mark Carey</dc:creator>
<dc:date>2007-07-07T07:18:34-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#241852</link>
<description><![CDATA[<p>MT 4.0 support? </p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>lisa</dc:creator>
<dc:date>2007-07-20T16:55:11-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#242420</link>
<description><![CDATA[<p>Hi.</p>

<p>We are installing FastSearch, and getting selective or partial results.  On certain terms, all the entries are returned, but on other terms, FastSearch only displays a handful of the relevant entries, sometimes none.</p>

<p>Any thoughts for why this may be happening?</p>

<p>I've checked to make sure the search term is more than 3 letters and exactly matches the terms in the entry title or body.</p>

<p>Thanks,</p>

<p>Michele</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Michele</dc:creator>
<dc:date>2007-07-24T07:25:14-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#243814</link>
<description><![CDATA[<p>When I search for one of my tags via the normal search input box with FastSearch the entries with those tags don't show up. Am I doing something wrong or missing something. Clicking on tags to search for entries with that tag works just fine.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>lisa</dc:creator>
<dc:date>2007-08-04T14:22:48-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#257617</link>
<description><![CDATA[<p>Is it possible to use your plugin in the place of mt serach plugin for using it with tag search in a blog id<br />
for example i will say <a href="http://www.url.com/mt-search.cgi?blog_id=1&tag=" rel="nofollow">http://www.url.com/mt-search.cgi?blog_id=1&tag="serch"</a></p>

<p>can i replace that with ur fast search plugin if yes please tell me how to use it .<br />
</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>ganesh</dc:creator>
<dc:date>2007-11-10T12:54:15-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#274058</link>
<description><![CDATA[<p>hi.<br />
how can i limit search in standard fields with fast search?<br />
i want to search only in the "body" texts or only in the "mt extended" texts. how can i?<br />
is it same to category or blog limit? i don't see any thing about limiting for fields !<br />
thanks.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>amir</dc:creator>
<dc:date>2008-02-22T13:43:46-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#283207</link>
<description><![CDATA[<p>In lieu of running the upgrade script, can I just run the 2 sql statements:<br />
ALTER TABLE `mt_entry` DROP INDEX `fastsearch`;<br />
ALTER TABLE `mt_entry` ADD FULLTEXT `fastsearch` (`entry_title` , `entry_text` , `entry_text_more` , `entry_keywords` );<br />
Is there anything else that needs to be run to install/initialize FastSearch?<br />
Thanks.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>linh</dc:creator>
<dc:date>2008-04-23T17:42:01-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#298563</link>
<description><![CDATA[<p>Hello Mark ..<br />
i've used the older version of fastsearch with MT3.31 and it was great.<br />
but after upgrading to MT4.1 and the new version of fastsearch i've faced a problem ( not a very serious one though )and that is :<br />
if the phrase that you want to search for is in UTF-8 languages ( like persian , arabic ) then in the results page you get your results but the  ( your searched phrase ) will have a weird shape and won't get shown right.<br />
you can see it in your blog for example ... search the word سیب which is the persian word for " apple " and you see the problem in new page.<br />
i think it's got something to do with encoding and ... well you're the expert !<br />
i did'nt have this problem before but now with both MT and fastsearch new versions i do ...</p>

<p>lookin forward to your answer , thanks alot !</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>ebliser</dc:creator>
<dc:date>2008-07-11T16:28:45-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#304323</link>
<description><![CDATA[<p>can you try my fastsearch at <a href="http://www.memeticians.com." rel="nofollow">http://www.memeticians.com.</a>  i'm not sure why search term comes up blank.  any ideas?</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Hank</dc:creator>
<dc:date>2008-09-03T16:28:27-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#304324</link>
<description><![CDATA[<p>sorry to post again, <a href="http://memeticians.com" rel="nofollow">http://memeticians.com</a> but the previous link was broken due to a period.  mark, feel free to delete this comment and update the last.  thanks!</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Hank</dc:creator>
<dc:date>2008-09-03T16:31:09-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#304469</link>
<description><![CDATA[<p>OK, cancel my comments above, I just can't handle the requests coming in from the search bots hitting me with a new keyword every second.  So i've switched to google search (sorry), but i would like to keep fastsearch with my tags.  if you try out my tag cloud at <a href="http://memeticians.com" rel="nofollow">http://memeticians.com</a> , you'll see that a blank search results comes up as if the tag name variable never passes to the search query.  but when you get the search results and use the fastsearch box, that works no problem.  i don't get it, anyone have any suggestions?</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Hank</dc:creator>
<dc:date>2008-09-05T10:25:36-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#324191</link>
<description><![CDATA[<p>SEO(or come grinding engine optimization) is to rewrite the web page to appear higher in search results for a particular search engine. Its technology. Also known as search engine optimization. The English "Search Engine Optimization" to take initial measures which are known as the <a href="http://www.link4seo.com" rel="nofollow">http://www.link4seo.com</a> SEO Search engine optimization has become a target, Google often. The foreign (especially American) by the high market share in Google. In Japan, Yahoo! For many users of the search, Yahoo! Is focused search measures.</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>Hank</dc:creator>
<dc:date>2009-02-28T03:28:59-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#324193</link>
<description><![CDATA[<p>hi.<br />
how can i limit search in standard fields with fast search?<br />
i want to search only in the "body" texts or only in the "mt extended" texts. how can i?</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>フランチャイズ</dc:creator>
<dc:date>2009-02-28T03:35:15-05:00</dc:date>
</item>

<item rdf:about="http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html">
<title>Fast Search - PHP Fulltext Search Plugin</title>
<link>http://mt-hacks.com/20060808-fast-search-php-fulltext-search-plugin.html#324206</link>
<description><![CDATA[<p>Not sure if you're still around on this thread given the spam, but just in case... is there an easy way to display the ratings without the Ajax ability? I'm thinking I might like to be able to show the stars in the widgets or category pages, but without letting people make a rating themselves before they've read the whole thing.<br />
<a href="http://www.sky-value.com/" rel="nofollow">国内格安航空券</a> <br />
<a href="http://www.kajimitsuo.com/" rel="nofollow">多重債務</a> <br />
</p>]]></description>
<dc:subject>FastSearch</dc:subject>
<dc:creator>国内格安航空券</dc:creator>
<dc:date>2009-02-28T03:55:33-05:00</dc:date>
</item>


</rdf:RDF>