Current location: Hot Scripts Forums » Programming Languages » ASP » How to do a search engine??


How to do a search engine??

Reply
  #1 (permalink)  
Old 07-02-03, 10:01 PM
bonnie bonnie is offline
Newbie Coder
 
Join Date: Jun 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Question How to do a search engine??

I don't know how to do a search engine, this search engine can only search for internal site???
Reply With Quote
  #2 (permalink)  
Old 07-02-03, 11:22 PM
Stealth Stealth is offline
1337 pr0gr4mm3r
 
Join Date: Jun 2003
Location: Glasgow, Scotland
Posts: 188
Thanks: 0
Thanked 0 Times in 0 Posts
easy if your site runs off a database, im sure theres a workaround for scanning html files but im sure it would be a messy and slow buisiness searching :S
Reply With Quote
  #3 (permalink)  
Old 07-03-03, 09:25 PM
bonnie bonnie is offline
Newbie Coder
 
Join Date: Jun 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy

not in a database and all of them is HTML. I know it is messy, but is it possible for me to do it??and HOW??
Reply With Quote
  #4 (permalink)  
Old 07-04-03, 01:02 PM
Stealth Stealth is offline
1337 pr0gr4mm3r
 
Join Date: Jun 2003
Location: Glasgow, Scotland
Posts: 188
Thanks: 0
Thanked 0 Times in 0 Posts
well, showing the actual code would be too time consuming but it would go along the lines of,


get a directory listing. open the first file as a text object and use the StrComp() function to determine if the text specified exists in the page .. but this would cause problems. HTML tags would be shown in searches but the page shown would have no relative results.

anyway, firther on it would have to cycle the pages in directories and remember the results.

really quite complicated and probably a terrible load on the server.

if your lucky someone with more knowledge than me will post a better way or a link to software that will do it. but thats all ure gonna get outa me buddy
Reply With Quote
  #5 (permalink)  
Old 07-04-03, 06:03 PM
Shane Shane is offline
Coding Addict
 
Join Date: Jun 2003
Location: Maryland, US
Posts: 268
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah, the load on the server may be horrible.

If you have your own server, I would just turn on MS Index Server and try doing that for a while.

Or create some sort of crawler that crawls through your pages every so often and puts them in a database. Then search the database.
__________________
Shane Bauer
Microsoft Certified Professional (MCP) - ASP.NET
ASP/ASP.net, C#, VB/VB.NET, PHP, Perl, SQL
Reply With Quote
  #6 (permalink)  
Old 07-05-03, 12:34 PM
Stealth Stealth is offline
1337 pr0gr4mm3r
 
Join Date: Jun 2003
Location: Glasgow, Scotland
Posts: 188
Thanks: 0
Thanked 0 Times in 0 Posts
ahh a crawler, never thought of that
Reply With Quote
  #7 (permalink)  
Old 07-05-03, 05:42 PM
Gurrutello Gurrutello is offline
Newbie Coder
 
Join Date: Jun 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
hello
try in this web
http://www.webwizguide.com/asp/sampl...rch_script.asp
is a goodo one
Reply With Quote
  #8 (permalink)  
Old 07-07-03, 03:41 AM
bonnie bonnie is offline
Newbie Coder
 
Join Date: Jun 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Smile

Thanks a lot!!!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SEO Expert Available nakulgoyal Job Offers & Assistance 2 08-14-04 12:38 PM
PHP search engine flipsix PHP 3 10-19-03 02:07 PM
Redirects v.s. Search Engine Indexing RPGBarb Script Requests 1 09-12-03 11:34 PM
search engine help darkcarnival PHP 5 08-08-03 07:27 AM
search engine question herman PHP 2 08-04-03 11:41 PM


All times are GMT -5. The time now is 04:12 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.