Do fuzzy searches use indexes?

Post Reply
jkj2001
Posts: 142
Joined: Fri Mar 29, 2002 1:39 pm

Do fuzzy searches use indexes?

Post by jkj2001 »

Say I have a metamorph index against a field in my database, and I run a fuzzy search against the field. Will the search make use of the index, or will it be linear in nature?

Would I need to pass my "create index" statement some parameters in order to make it fuzzy "friendly"?

Thanks for the advice.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Do fuzzy searches use indexes?

Post by mark »

jkj2001
Posts: 142
Joined: Fri Mar 29, 2002 1:39 pm

Do fuzzy searches use indexes?

Post by jkj2001 »

Sorry-- yes, we're using likep.
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Do fuzzy searches use indexes?

Post by John »

Yes, LIKEP will use the index. As Mark said CREATE METAMORPH INVERTED INDEX ... is the most appropriate.
John Turnbull
Thunderstone Software
Post Reply