<?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 Sep 2010 06:27:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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 type [...]]]></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.  Here you also get an error number: Error: 30059, Severity: 16, State: 1.</p>
<p>I have seen the issue occur when the SQL Full-text Filter Daemon Launcher service was running with the NT AUTHORITY\NETWORK SERVICE account.  Switching the service to use the Local System account solved the issue.  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).  Double-clicking this shows the Full-Text Catalog Properties.  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>
<div>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: #f4f4f4;"><span style="color: #0000ff;">ALTER</span> FULLTEXT <span style="color: #0000ff;">CATALOG</span> [AW2008FullTextCatalog] REBUILD;</pre>
</div>
<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.  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>
<div>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; line-height: 12pt; font-family: consolas,'Courier New',courier,monospace; background-color: #f4f4f4;"><span style="color: #0000ff;">select</span> * <span style="color: #0000ff;">from</span> Production.ProductReview
<span style="color: #0000ff;">where</span> <span style="color: #0000ff;">contains</span>(Comments, <span style="color: #006080;">'heavy'</span>);</pre>
</div>
<p>This should output two records.</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 article, [...]]]></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>
]]></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>
