On 25 Sep 2005 09:08:04 -0700, "gk" <> wrote or quoted
:
>i am assuming they have a separate datbase table for DVD, they have
>Database table for CDS, they have database table for Books, they have
>database table for mobile phone etc etc.they have all individual tables
>for each catregory . that means they have hundreds of tables in thier
>database for each item category.
They most likely do it with a giant combined index. there are several
ways they could implement it: It is not that outlandish. Have ever
seen "Books In Print"? You can pick it up in two hands. There are
dictionaries fatter.
1. they split the giant master index up alphabetically into 10 pieces
and put each piece on a different server. The request is farmed out
for each word in the search and then combined.
2. they split the index up by type . e.g.. books, DVD, electronics and
run each on a different server.
If you are amazed how ebay/Amazon works, think about google which
indexes the entire web.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.