Single character searches

Post Reply
MiniMe
Posts: 210
Joined: Thu Mar 15, 2001 4:30 pm

Single character searches

Post by MiniMe »

The developers in my company want to make it so people can search for initials in authors names in our database. What impact would this make on the search engine if they allowed this kind of activity.
User avatar
Kai
Site Admin
Posts: 1272
Joined: Tue Apr 25, 2000 1:27 pm

Single character searches

Post by Kai »

There shouldn't be much of a performance impact. You might want to remove "a" and "i" from your noise list, since they're potential initials. (I assume you meant "[\alnum\x27]{1,99}" for your index expression -- "x" for the hex escape -- to match single quotes).
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Single character searches

Post by John »

Not quite sure what you mean by \27. The index would certainly grow, which will have some negative impact on performance, although in most cases it will be a small impact. How much will depend on how many single character terms are in the data. You could compare the size of the performance with and without them indexed to get an idea. Searches will perform in a similar manner to other searches matching the same number of documents.
John Turnbull
Thunderstone Software
MiniMe
Posts: 210
Joined: Thu Mar 15, 2001 4:30 pm

Single character searches

Post by MiniMe »

would using inverted metamorph indexes help or hinder performance??
User avatar
Kai
Site Admin
Posts: 1272
Joined: Tue Apr 25, 2000 1:27 pm

Single character searches

Post by Kai »

Depends on your queries. If you're using ranking operators such as LIKEP/LIKER, or might have phrases in your search, then a metamorph inverted index is faster, because it can avoid post-processing in such cases. If neither is used, then a metamorph index may be slightly faster because it's smaller.
awatson1
Posts: 1
Joined: Mon Jul 09, 2001 4:45 pm

Single character searches

Post by awatson1 »

E- Mail address for the Texas board of paroles
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Single character searches

Post by mark »

I think you've posted to the wrong board. This board is for technical support of Thunderstone's product called "Texis". It has nothing to do with "Texas".
Post Reply