full text search - SQL Fulltext: What items have not been indexed? -
i have fulltext index on 1 of tables contains metadata , document blob (pdf or doc or rtf etc)
sometimes there error indexing row , therefore row cannot returned in fulltext searches.
what query use find out items have not been indexed?
i thought this:
select * mytable mytableid not in ( select mytableid mytable contains(title, title) )
and work out rows not returned. inner query not syntactically correct , cant work out.
any ideas?
cheers aaron
bad news , news:
bad news - there no way find out items have not been indexed using simple query.
good news - can add datetime on fulltext table , store insert date each record on it. then, can create log table contains last date population executed. using table can find out wich records not indexed since last index population.
i dont know if made myself clear. did said today. created job start population, , job check if population done , populate log table last index population date.
Comments
Post a Comment