Possibly related question: How could I generate a contextual text extract from text returned from a SQL Server Full-Text Index?
At any rate, I’d like to know if there is a way to get the position of the hit(s) within an indexed document. If this isn’t possible, I was wondering if it’s possible in any other full-text search technologies out there.
Thanks in advance!
EDIT: Derp. I just walked through the implications of the answer to that related question. If that’s the best way then I guess it’s the best way. Anyone have any better suggestions?
In the end
sys.dm_fts_parserappears to be the best/only solution to this. Unfortunately it seems to be able to only handle a maximum amount of characters so it’s on to Lucene.NET for me.