timewaster
May 6th, 2009, 12:42 PM
I am using SqlServer 2008 with the Full-Text search.
After I insert a row into a table that is setup with full text search, i need to wait for some unspecified amount of time after the insert before my query will return the row i just inserted.
Why is this happening?
Is it possible to setup the insert to not finish until the full-text index on the row i just inserted is complete?
This some example code i am using:
INSERT INTO q_DocVersion_International ([f_Doc_ID] ,[f_Headline] ,[f_Synopsis] ,[f_HeadlineOrder])
VALUES (-990 ,'UPDATE 2-Dissident Chrysler lenders step up Languinxdy opposition' ,NULL ,NULL)
wait 1 sec, then i execute the query:
Select q_DocVersion_International.f_Doc_ID
From q_DocVersion_International
Where Contains(q_DocVersion_International.f_Headline, 'Languinxdy')
After I insert a row into a table that is setup with full text search, i need to wait for some unspecified amount of time after the insert before my query will return the row i just inserted.
Why is this happening?
Is it possible to setup the insert to not finish until the full-text index on the row i just inserted is complete?
This some example code i am using:
INSERT INTO q_DocVersion_International ([f_Doc_ID] ,[f_Headline] ,[f_Synopsis] ,[f_HeadlineOrder])
VALUES (-990 ,'UPDATE 2-Dissident Chrysler lenders step up Languinxdy opposition' ,NULL ,NULL)
wait 1 sec, then i execute the query:
Select q_DocVersion_International.f_Doc_ID
From q_DocVersion_International
Where Contains(q_DocVersion_International.f_Headline, 'Languinxdy')