I have a computed field with a full-text index on it. It's working properly except for just a few records out of thousands, and why remains a mystery:
[fake name]
JAMES J BRATWURST LTDJ LCHM LCDAA1 ACD 1215041803 111.223.3333
A select-query with
... where CONTAINS(searchname,'bratwurst')
works fine, and
... where CONTAINS(searchname,'111.223.3333')
works fine too. But
... where CONTAINS(searchname,'1215041803')
does not return anything.
Edit: this wildcard search works too (which shows that the index has been populated):
.. where CONTAINS(searchname, '"121504180*"')
.
Yet on other similar records, searching the searchname column for a 10-digit "number" using CONTAINS does return values. So it's not that the full-text tokenizer is ignoring numbers.
Thinking that it was possibly a stoplist issue, I turned stoplist
off and repopulated the index, but to no avail.
I am open to suggestions for other things to check! Thanks