Skip to content

A simple search engine in python using Tornado, Scrapy, Redis and MongoDB

Notifications You must be signed in to change notification settings

hemslo/poky-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

poky-engine

A simple search engine in python using Tornado, Scrapy, Redis and MongoDB

Requirements

Redis

MongoDB

Installation

pip install tornado Scrapy redis pymongo jieba stemming

Run

Crawl

cd /path/to/poky_spider

scrapy crawl PokySpider url # defautl start url is http://www.seu.edu.cn

Build inverse table

cd /path/to/indexer

python InverseTable.py

Compute PageRank

cd /path/to/indexer

python PageRank.py

Run Web Server

python app.py # default url is http://localhost:8888

Help

python app.py --help

About

A simple search engine in python using Tornado, Scrapy, Redis and MongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages