Re: wow the website search is fast

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...
kobi said...

can I please get some inside info - how did you make the website search so quick?! is it indexing all the words in the page? is the source available? what db is used?

sorry for prying, I'm just trying to learn. thanks alot, kobi

The web site is written using Euphoria. I don't think that there is any word indexing, instead the contents is scanned dynamically each time you do a search. Matching references are scored by relevancy to the current context and presented in that order. This means that if you are currently looking at the Manual, hits in the manual score higher than hits in the wiki, for example, and visa versa.

Euphoria is a lot faster than typical web languages.

We do use MySQL as the database engine. We're taking advantage of MySQL's builtin indexing feature (hence the fact that 3 letter words or less can't be searched).

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu