I stumbled accross an issue with full text search in columns which may contains domain names on a Microsoft SQL Server 2012.
A table cell containing example.com
is added to the full text catalog by the term example
and com
. The latter makes it impossible to search for a domain name, as any entry containing that tld will be found.
What do you need to do in order to prevent urls from being broken?
EDIT: The example query would be:
SELECT * FROM Test WHERE FREETEXT(test, 'example.com')
The Test table only contains two rows, containing example.com
and differenturl.com
, both are returned as a result. The Test database was created for this example.