Gossamer Forum
Home : Products : Links 2.0 : Customization :

Search mulitple words

Quote Reply
Search mulitple words
Hi,

I've got a "Search" question.

I want to be able to do "fuzzy" searches.

For example:

I have a link with key words HOMEWORK HELP

If someone types in "Homework Helps" they get either an "error: no matching records" message when they use the AND connector; or they get all sites with either word if they use the OR connector.

Is there a way to allow users to enter approximate searches and have the search script "guess" in a fuzzy logic way?

I have looked in the Forums and found the following but they didn't seem to help. This does not seem to be Boolean search exactly. I know that Links does not have that.


http://www.gossamer-threads.com/scripts/forum/resources/Forum3/HTML/005109.html

http://www.gossamer-threads.com/scripts/forum/resources/Forum11/HTML/001793.html

------------------


[This message has been edited by Curt (edited May 04, 2000).]
Quote Reply
Re: Search mulitple words In reply to
 
Quote:
This does not seem to be Boolean search exactly. I know that Links does not have that.

The AND/OR connector option is the Boolean search option.

Quote:
Is there a way to allow users to enter approximate searches and have the search script "guess" in a fuzzy logic way?

Two suggestions:

1) Read the Topic in this Forum that discusses integration of htdigs fuzzy search utility into LINKS.

2) If you are on a UNIX server, then you could possibly hack the search.cgi script to read words and check against the internal UNIX dictionary.

Quote:
If someone types in "Homework Helps" they get either an "error: no matching records" message when they use the AND connector; or they get all sites with either word if they use the OR connector.

There are two other options that you can implement:

1) Keyword
2) Phrase

(That comes with LINKS.)

You can also implement the Exact Word Match, which has been discussed in this forum before.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.