I am writing a program which will query a full text search index on Microsoft SQL Server 2005. The data being indexed are large blobs of text (multiple lines).
I need to extract only those lines of text which contain the search words for display with the results.
I therefore need to use the Sql Server word breaker and stemmer to determine if each line of text from the blob matches the search string, as I understand the standard word breaker and stemmer in Windows search uses a different algorithm.
I thought if I copied the two dlls (infosoft and langwrbk) from a SQL Server installation to the machine on which I am running my program, and ran regsvr32 on them, they would be installed in the registry, and I would be able to use them.
No such luck - running regsvr32 does not seem to add anything to the registry at all!
I have code which does the job with the word breaker and stemmer that comes with Windows, and it works, but I'm worried about the differences (which I have seen complained about in other posts here).