Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qoda/python-searchengine
A simple search engine which utilizes whoosh, mongodb, a custom html scraper and simple crawler.
https://github.com/qoda/python-searchengine
Last synced: 11 days ago
JSON representation
A simple search engine which utilizes whoosh, mongodb, a custom html scraper and simple crawler.
- Host: GitHub
- URL: https://github.com/qoda/python-searchengine
- Owner: qoda
- License: other
- Archived: true
- Created: 2011-06-28T08:46:42.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2020-03-11T09:16:25.000Z (over 4 years ago)
- Last Synced: 2024-08-01T22:57:36.599Z (3 months ago)
- Language: Python
- Homepage:
- Size: 37.1 KB
- Stars: 35
- Watchers: 8
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
NB: NO LONGER UNDER DEVELOPMENT
===============================python-searchengine
===================
A simple search engine which utilises whoosh, a custom html scraper and simple
crawler/spider.Requirements
------------System:
~~~~~~~- python 2.6+
Python:
~~~~~~~- whoosh
- pymongoInstallation
------------1. From git::
$ git clone [email protected]:qoda/python-searchengine.git
$ cd python-searchengine
$ python setup.py installUsage
-----Simple Usage::
~~~~~~~~~~~~~~1. Use from class::
from searchengine import SearchEngine
search_engine = SearchEngine()
search_engine.search('"Python Search Engine" GitHub -bitbucket')
2. Use from method::
from searchengine import searchengine
searchengine(query='"Python Search Engine" GitHub -bitbucket')
3. Use from commandline (installed)::
$ python -m searchengine.main '"Python Search Engine" GitHub -bitbucket'
Required Arguments:
~~~~~~~~~~~~~~~~~~~- **query** - query the index
Optional Arguments:
~~~~~~~~~~~~~~~~~~~- **index** (default: /path/to/app/index)