sql server - Does a Full-Text Index work well for columns with embedded code values -


using sql server 2012, i've got table has several hundred-thousand rows, , grow.

in table, i've got nvarchar(30) field contains medical record number (mrn) values. these values can alphanumeric value, not words.

for example,

dr-345687 34568523 *45612345;t 

my application allows end user enter value, '456' in search field. application need return 3 of example records.

currently, i'm using entity framework 5.0, , asking field.contains('456') type of search.

this takes 3-5 seconds return since appears table search.

my question is: creating full text index on column performance? haven't tried yet because copy of database have lots of data in in qa trials.

looking @ documentation full text indexes appears optimized around separate words in field value, hesitant take performance hit create index without knowing how affect query performance.

ef won't use t-sql keywords needed access sql server full text index (http://msdn.microsoft.com/en-us/library/ms142571.aspx#queries) solution won't fly without more work.

i think have create sproc data using fti , have ef call this. have similar issue , interested know results.

andy


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -