<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>A Developer&#039;s Blog &#187; Full-Text Indexing</title>
	<atom:link href="http://blog.hoegaerden.be/tag/full-text-indexing/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hoegaerden.be</link>
	<description>SQL Server, BI, .NET, IT and anything else I have been playing with.</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:15:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Full Text Search: fatal error 30059</title>
		<link>http://blog.hoegaerden.be/2009/03/04/full-text-search-fatal-error-30059/</link>
		<comments>http://blog.hoegaerden.be/2009/03/04/full-text-search-fatal-error-30059/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 16:53:36 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Full-Text Indexing]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2009/03/04/full-text-search-fatal-error-30059/</guid>
		<description><![CDATA[If you have installed SQL Server 2008 without making any modifications to the default service settings and you&#8217;re trying out the AdventureWorks2008 sample database, you may be getting some similar errors as the following in the Application event log: A fatal error occurred during a full-text population and caused the population to be cancelled. Population [...]]]></description>
			<content:encoded><![CDATA[<p>If you have installed SQL Server 2008 without making any modifications to the default service settings and you&#8217;re trying out the <a title="SQL Server 2008 SR1 AdventureWorks download" href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=18407" target="_blank">AdventureWorks2008 sample database</a>, you may be getting some similar errors as the following in the Application event log:</p>
<blockquote><p>A fatal error occurred during a full-text population and caused the population to be cancelled. Population type is: FULL; database name is AdventureWorks2008 (id: 7); catalog name is AW2008FullTextCatalog (id: 5); table name ProductReview (id: 354100302). Fix the errors that are logged in the full-text crawl log. Then, resume the population. The basic Transact-SQL syntax for this is: ALTER FULLTEXT INDEX ON table_name RESUME POPULATION.</p>
</blockquote>
<p>The same errors are logged in the \MSSQL10.SQL2008\MSSQL\Log\SQLFT0000700005.LOG log file.&#160; Here you also get an error number: Error: 30059, Severity: 16, State: 1.</p>
<p>I have seen the issue occur when the <strong>SQL Full-text Filter Daemon Launcher</strong> service was running with the<em> NT AUTHORITY\NETWORK SERVICE</em> account.&#160; Switching the service to use the<em> Local System</em> account solved the issue.&#160; Then the Full Text Catalog would rebuild without any issue.</p>
<p>To rebuild the Full Text Catalog in Management Studio, open your database in the Object Explorer, under Storage &gt; Full Text Catalogs there&#8217;s an entry called AW2008FullTextCatalog (in the case of the sample DB).&#160; Double-clicking this shows the Full-Text Catalog Properties.&#160; Select the Rebuild catalog radio button and click OK to rebuild the catalog.</p>
<p>Alternatively you could execute following statement on the AdventureWorks database:</p>
<pre class="code"><span style="color: blue">ALTER FULLTEXT CATALOG </span>[AW2008FullTextCatalog] <span style="color: blue">REBUILD</span><span style="color: gray">;</span></pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<p>After waiting for about 15 seconds (there&#8217;s not a lot of data to be indexed) if you open the properties again you should see the Last Population Date filled in with the current timestamp.&#160; Another way to tell if it was successful is to look at the FT log file, error 30059 should not be mentioned anymore.</p>
<p>Or try using a Full Text query:</p>
<pre class="code"><span style="color: blue">select </span><span style="color: gray">* </span><span style="color: blue">from </span>Production<span style="color: gray">.</span>ProductReview
<span style="color: blue">where contains</span><span style="color: gray">(</span>Comments<span style="color: gray">, </span><span style="color: red">'heavy'</span><span style="color: gray">);</span></pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<p>This should output two records.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2009%2F03%2F04%2Ffull-text-search-fatal-error-30059%2F&amp;title=Full%20Text%20Search%3A%20fatal%20error%2030059" id="wpa2a_2"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2009/03/04/full-text-search-fatal-error-30059/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Full-Text Indexing: Getting Started</title>
		<link>http://blog.hoegaerden.be/2009/03/04/full-text-indexing-getting-started/</link>
		<comments>http://blog.hoegaerden.be/2009/03/04/full-text-indexing-getting-started/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 16:47:25 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Full-Text Indexing]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2009/03/04/full-text-indexing-getting-started/</guid>
		<description><![CDATA[I&#8217;d just like to mention that Robert Sheldon wrote a really interesting article on how Full-Text Indexing works in both SQL Server 2005 and 2008.  If you&#8217;re new to full-text indexing or if you want to know how it has evolved in 2008, I really recommend reading this. There are several interesting queries in the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d just like to mention that <a title="Robert Sheldon Profile" href="http://www.simple-talk.com/author/robert-sheldon/" target="_blank">Robert Sheldon</a> wrote a really interesting article on how Full-Text Indexing works in both SQL Server 2005 and 2008.  If you&#8217;re new to full-text indexing or if you want to know how it has evolved in 2008, I really recommend reading this.</p>
<p>There are several interesting queries in the article, such as how to retrieve a list of terms that are being indexed using the sys.dm_fts_index_keywords dynamic management function.  This is a new feature of SQL Server 2008.</p>
<p>The article can be found on the <a title="simple-talk: SQL Server and .NET put simply" href="http://www.simple-talk.com" target="_blank">simple-talk</a> site and is called <a title="Understanding Full-Text Indexing in SQL Server" href="http://www.simple-talk.com/sql/learn-sql-server/understanding-full-text-indexing-in-sql-server/" target="_blank">Understanding Full-Text Indexing in SQL Server</a>.</p>
<p>This is the first article in a series on full-text indexing.  The next one is called <a title="Full-Text Indexing Workbench" href="http://www.simple-talk.com/sql/learn-sql-server/full-text-indexing-workbench/" target="_blank">Full-Text Indexing Workbench</a> and is written completely in T-SQL <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2009%2F03%2F04%2Ffull-text-indexing-getting-started%2F&amp;title=Full-Text%20Indexing%3A%20Getting%20Started" id="wpa2a_4"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2009/03/04/full-text-indexing-getting-started/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

