I am building, actually have already built a search tool that uses FTS in MS SQL server 2008. So far so good, but im using an old version of the irony library.
I Downloaded this kit and fired up the samples. I'm using the google style text search to FTS query condition implementation.
In my existing project using the old irony lobrary I declare like so
Dim _compiler As LanguageCompiler
This is however not valid for the latest version.
In my existing project, to perform a full text conversion its done in steps
1. instantiate the compiler
2. verify the text is valid
3. perform the conversion
so in order this is how i used to use the irony library
Dim root As AstNode = _compiler.Parse(FriendlySrchString.ToLower())
If Not CheckParseErrors() Then
'build the full text search condition
ftString = SearchGrammar.ConvertQuery(root, SearchGrammar.TermType.Inflectional)
Where CheckParserErrors looked like this
Private Function CheckParseErrors() As Boolean
If _compiler.Context.Errors.Count = 0 Then
Dim errs As String = "Errors: " & vbCr & vbLf
For Each err As SyntaxError In _compiler.Context.Errors
errs += err.ToString() & vbCr & vbLf
I cannot seem to work out how to do this using the new irony library, nor can I find any documentation on the subject to help.
Look forward to someone pointing me in the right direction