A simple search engine which utilises whoosh, a custom html scraper and simple crawler/spider.
- python 2.6+
- whoosh
- pymongo
From git:
$ git clone [email protected]:qoda/python-searchengine.git $ cd python-searchengine $ python setup.py install
Use from class:
from searchengine import SearchEngine search_engine = SearchEngine() search_engine.search('"Python Search Engine" GitHub -bitbucket')
Use from method:
from searchengine import searchengine searchengine(query='"Python Search Engine" GitHub -bitbucket')
Use from commandline (installed):
$ python -m searchengine.main '"Python Search Engine" GitHub -bitbucket'
- query - query the index
- index (default: /path/to/app/index)