1. wow the website search is fast

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

new topic     » topic index » view message » categorize

2. Re: wow the website search is fast

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.

new topic     » goto parent     » topic index » view message » categorize

3. Re: wow the website search is fast

Though, it is not a fair contest, if you think the website search is fast, try your local hosted HTML search functions in Euphoria 4.0. It's under Programs->Euphoria->Manual in HTML. It is only really for searching for things in the standard library. Look ups for precise definitions of routines seem instantaneous.

Shawn Pringle

new topic     » goto parent     » topic index » view message » categorize

4. Re: wow the website search is fast

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.

Source code is here:

Matt

new topic     » goto parent     » topic index » view message » categorize

5. Re: wow the website search is fast

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 message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu