This content has been marked as final. Show 4 replies
Where does the array come from?
What criteria do you use for best match?
I make the array in CF, I'm not really sure of the critiria, I want it to work like Google search results:
"Did you mean HBOS intead of hboss"
you know what i mean :)
Also exact matches from the user string say, "hbos" will not need to be tested for closeness to the values in the test array as hbos is already a value.
> I make the array in CF, I'm not really sure of the critiria, I want it to work like Google search results:
> "Did you mean HBOS intead of hboss"
>> Does anyone have a clever algorithim that will do this?
Yep. The people who own Google and make their living providing such
Or the bods who wrote Lucene or Verity have a clue or two, too.
You're basically asking us if we know how to write a search engine. My
suggestion would be to not try to reinvent the wheel, but use one of the
systems already out there.
Google appliances costs a fair bit, but Lucene is free, and CF bundles
Verity with it. I recommend you use one of those two.