all groups > sql server full text search > july 2003 >
You're in the

sql server full text search

group:

Full text and noise word file


Full text and noise word file atelford6 NO[at]SPAM hotmail.com
7/29/2003 12:34:41 AM
sql server full text search:
I have an active passive cluster in a production environment. I also
have a non-clustered sql server for testing. I made a change to the
noise.enu file to remove some noise words, I did this on test and
everything worked fine. I then went to production and did the exact
same thing, stopped full-text indexing, made my change, started full
text indexing. Things didn't go well though. Only one database was
using the indexer, a job every few minutes did an incremental index on
some tables. Very shortly after my change the database in question
went into a suspect state and is now dead, we are picking up the
pieces from the last backups.
What did I do wrong? Is there a tried and tested way to modify the
noise word files in a cluster setup. I should note that my changes are
now gone and have been replaced automagically by the original, which
makes me think I went about it all wrong, but I am still a little
pissed that the database would die so badly from that one small
change.
Full text and noise word file Hilary Cotter
7/29/2003 4:32:25 AM
Which noise file did you modify?

The one in %windir%\system32 or the one in c:\mssql7
\ftdata\sqlserver\config?

It should have been the later?

In any event, making such a change should not have caused
this problem, as the indexing processes merely reads the
tables that it is full text indexing.

I suspect there was some other event which caused your
problem.

Is there anything in the event logs that might explain
it? Or the SQL Server error logs?
[quoted text, click to view]
Re: Full text and noise word file Alex Telford
7/29/2003 4:58:14 AM
The file I modified was the FTDATA one, it was SQL 2K enterprise,
active/passive cluster using a shared disk array. Right after I started
the full text indexing service after editing the files the problem
started. The files I modified became locked, I couldn't even open them
in notepad, error was something like locked by another resource.
Normally you can open them just not save them because they are open by
the search process. Thats when the database went down and wouldn't come
back online, we had to restore from a backup. The fact that my changes
disappeared after I did a failover seems to indicate that the cluster
has master copies somewhere. What I think happened is I restarted the
service which tried to re-read and lock the files, at the same time the
cluster tried to restore the originals and it all got screwed up.
What I hoping for is some documentation on how to modify these files in
a clustered environment.
As for logfiles, I will be looking at them in more detail later but I am
extremely doubtful anything else caused it, there was barely any
connections to the database at that point.



*** Sent via Developersdex http://www.developersdex.com ***
Re: Full text and noise word file John Kane
7/29/2003 7:37:14 AM
Alex, Hilary,
Restoring your database from backup could be a factor as well and Rene is
correct you must stop the "Microsoft Search" (mssearch.exe) service first
before editing the noise word files, otherwise you are unable to save the
edited noise word files. Also, the frequent SQLServerAgent job that does an
"incremental index on some tables" *might* of also been a factor here and
perhaps should of be disenabled first, then the "Microsoft Search" service
stopped as well.

Regards,
John



[quoted text, click to view]

Re: Full text and noise word file Alex Telford
7/29/2003 8:12:38 AM
I think the point of my posting is being missed here....

The MSSearch was stopped or I would not have been able to even save my
changes in the first place. The problems started when I started the
service again. I got it to work perfectly in a non-clustered
environment, its when I used the same procedure in a clustered
environment that the problem occured.
Does anyone have any experience, knowledge, links, documentation etc
about modifying these config file in a sql server cluster using a shared
disk?

-Alex



*** Sent via Developersdex http://www.developersdex.com ***
AddThis Social Bookmark Button