Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Full-Text Search / September 2007

Tip: Looking for answers? Try searching our database.

ask FTS index how often a key is stored in the index?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tbh - 21 Sep 2007 17:40 GMT
hi, i've noticed that in our SQL 2000 systems fulltext search performance
suffers when one searches for a term that occurs frequently in the index.
(of course i realize that ultimately there is no way around this, but I have
some ideas i'd like to explore.)

in my system an extremely rough rule of thumb seems to be that my search
runs (again *very* roughly) 1 second per 1000 hits. so if a person searches
for a common term (that occurs many thousands of times) the search is likely
to time out. (searching for this term and another common term of course
speeds up the search and makes it more user friendly, not to mention more
likely to lead to a better result.) alas, the way full text search and joins
to indexed tables are combined, time-restricting a search (e.g. for items
only in the last month) doesn't seem to help speed up the search as much as
reducing the hits from the *contains* clause itself.

so i'm looking for ways to avoid bad search performance (from the website
user's perspective) and also perhaps to reduce robot-search-induced load and
have a couple questions:
- can i ask the full text search service how often a word is indexed? (this
could help me predict whether a search for a single term is likely to have
horrible results; maybe i could use it to take special measures.)
- is it possible (e.g. by triggers or registering a callback function or...)
to be notified when the index changes *with respect to a term* or a list of
terms? (that would be useful if one decided to cache search results for
frequent, expensive queries)

cheers,

Tim Hanson
Hilary Cotter - 27 Sep 2007 03:19 GMT
The answer to both questions is no. You would have to parse your content and
to a word count to figure out which words occur most frequently.

Similarly you would have to build some tracking option to determine which
queries to cache.

Signature

RelevantNoise.com - dedicated to mining blogs for business intelligence.

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

> hi, i've noticed that in our SQL 2000 systems fulltext search performance
> suffers when one searches for a term that occurs frequently in the index.
[quoted text clipped - 26 lines]
>
> Tim Hanson
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.