Skip to main content

Thread: The Most Suitable Language To Build a Search Engine


i'm begging startup soon. it's search engine searches stuff on social networks , statistics on it. need advice guys picking suitable environment startup.

1- language considered bottleneck in such case, or can pick language of choice , doesn't matter ?

2- criteria should consider in selecting programming language? should prefer performance or productivity. in other words, i've heard python minimizes coding time lot, lacks performance. however, java choice may takes hours done in minutes in python.

guys

i find python great things. need 2 functions. 1 uses urllib open page , uses re search keywords or text in div, , 1 looks links on page , stores them in list. loop through list , perform these functions on them. this...

code:
import urllib import re  def getlinks(webpage)   try:     f = urllib.urlopener().open(webpage)     content = f.read()  #find links , store them in list  linklist.append(link)    except ioerror:     pass    def getcontent(webpage):   try:     f = urllib.urlopener().open(webpage)     content = f.read()          #use re find want in variable content    except ioerror:     pass   getlinks(page) getcontent(page) item in linklist:   getlinks(item)   content(item)  #you can define global vars in functions , act on those. #you write them files or whatever want.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] The Most Suitable Language To Build a Search Engine


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account