|
|
Making Your Own Search Engine | ||
Discussion by marijnnn with 7 Replies.
Last Update: March 29, 2005, 12:23 am | |||
but here we go:
for school, i had to make a search engine. i got lucky because it was in asp.net on a windows machine, so i could just use the indexing server included in windows. you have extra filters for pdf files and it searches through doc, xls,...
but let's say i wasn't that lucky and had to do it in php on a linux server... how could one do it? i mean: a little search bar that returns wether a file containts the searchwords or not?
my idea was to open every file periodicaly and make a database, but that would use a lot of space. and what to do with database-driven sites, that get their site-content from the db?
having all your pages crawled every time a search is executed seems a bad idea too...
i'm out of inspiration
how would you do it? got any good scripts?
Fri Feb 18, 2005 Reply New Discussion
Fri Feb 18, 2005 Reply New Discussion
wonder if you can do it on a shared server. i think the database would contain documents of all hosted sites :s
anyway, it's a nice idea, i'll have to look into it one day soon.
Fri Feb 18, 2005 Reply New Discussion
QUOTE (marijnnn)
silly me, should've thought of that myself. i'll look into how one can search in the databasewonder if you can do it on a shared server. i think the database would contain documents of all hosted sites :s
anyway, it's a nice idea, i'll have to look into it one day soon.
Yup.. the locate db should ideally contain a complete list of files of all the hosted sites.. even though a normal user wouldn't be able to get the complete listing using locate... maybe if you create a user with locate executtion privileges and cut out the rest of the system privs - it could be run on a shared hosting system... but then again i dont know if any admin would be ready to do it.. it's almost a gaping security hole that you're setting up by opening the whole directory structure to the world.
Think you should be able to come up with some workaround though..
Fri Feb 18, 2005 Reply New Discussion
Thu Mar 3, 2005 Reply New Discussion
Thu Mar 3, 2005 Reply New Discussion
http://www.freefind.com
The catch is that they put ads on the results page.
Also, I think that if you want to design a serach engine that indexes the world's website, its very tough because your database would be so large that the costs of running it is very high.
Sat Mar 12, 2005 Reply New Discussion
Tue Mar 29, 2005 Reply New Discussion
Need Help On Search Engine Submission Needed answer. (10)
|
(15) Gizoogle.com - You Gots Ta Try It Right Now Another google clone but HILARIOUS
|
Index




