
May 23rd, 2000, 09:27 AM
|
|
Apprentice Deity
|
|
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237

Time spent in forums: 4 m 8 sec
Reputation Power: 17
|
|
|
Nope, you can't index BLOB and TEXT types. Not that it would likely be much help. When using a where clause on a large field, you would probably use a LIKE comparison using wildcards. Indexes can only utilitize a LIKE comparison if there is NO wildcard in the first character of the match, even on CHAR and VARCHAR types. Not likely when comparing a large text field.
The only solution that comes to mind is a table of keywords that you could extract from the large files, filtering out common words (and, but, if, the, etc.)
That would be a large table and preclude phrase searching, but would prevent using LIKE and wildcards to take advantage of indexing.
|