all groups > sql server full text search > september 2004 >
You're in the

sql server full text search

group:

SQL Server Full-Text index not self populating when copying between two tables.


SQL Server Full-Text index not self populating when copying between two tables. wintran NO[at]SPAM gmail.com
9/13/2004 3:35:49 PM
sql server full text search: Hey I have a wierd SQL Server 2000 full-text index problem when
copying between two image tables.

I'm using Access XP as my front end and SQL Sever 2000 (with SP3a
install) as my backend. I'm trying to parse and search resumes using
the SQL Server 2000. I'm using a staging table to proof new resumes
coming in so I can delete duplicates before they enter the system. I
store the whole resume in a staging table before posting it to a
full-text index table.

The problem I'm running into is when I post the data from the staging
table into my permanent document table, the fully text index is not
populating. But when I upload the data using MS Access directly into
the document table, the full text index is being populate. I have the
full text index tracking turned on, too. Even after I rebuild the
full text index, the documents I copied over from thst staging table
still does not show up.

Do you have any idea what's wrong?

Re: SQL Server Full-Text index not self populating when copying between two tables. John Kane
9/13/2004 5:30:29 PM
Nguyen Tran,
Yes. How exactly are you "... post[ing] the data from the staging table into
[your] permanent document table"? As do you have "Change Tracking" with
"Update Index in Background" enabled for your permanent document table, and
depending upon how (BCP, BULK INSERT, etc.) you are posting or transferring
the documents, the binary bits may not be copied exactly as they should.

Could you also review your server's Application event log for any "Microsoft
Search" or MssCi source event errors, warnings or informational messages?
Basically, if the internal structure of the document is not maintained
exactly, then the MSSearch daemon will not correctly recognize the data in
the IMAGE column as a true MS Word, Adobe PDF file etc. Also, if possible,
could you forward to me a copy (dummy one) that you posted or transferred
via the above means that is has been extracted from the image column. This
file can then be examined to determine if &/or what may be the problem.

Thanks,
John



[quoted text, click to view]

Re: SQL Server Full-Text index not self populating when copying between two tables. wintran NO[at]SPAM gmail.com
9/14/2004 1:10:58 PM
John,

I looked into the logs. I think I found the problem. There seems to
be a space after the file type column. The document table has a
FileType of varchar(4) and the staging table had a FileType of
char(4). That's where the extra space come from. I have trimmed the
space and the search works now.

Thanks for all your help.

-Nguyen Tran

[quoted text, click to view]
Re: SQL Server Full-Text index not self populating when copying between two tables. John Kane
9/14/2004 1:46:38 PM
You're welcome, Nguyen Tran !
Yep, that would the cause as the MSSearch daemon will not correctly
recognize the file type with a trailing space.
If possible, when you next do table maintenance on either table, I'd
recommend that you standardize both columns to the same datatype.

Regards,
John


[quoted text, click to view]

AddThis Social Bookmark Button