This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Light redis search engine

Project Description

Scavenger is a light search engine for use in django projects utilizing redis indexing and mongodb datastore. Usage Example:

#!/usr/bin/env python

from mongoengine import *
from <app.models> import <models>

p = Person(first_name='joe', last_name='smith')
Scavenger.index(p)

search_models = ['first_name', 'last_name']
s = Scavenger(search_models)

query = 'jared'
matches = s.search(query)

Notes

  • Scavenger.index method calls save() method of mongodb object.
  • Scavenger instance hooks to redis on default localhost:6379 using db=0.
  • Scavenger.index_root defaults to current app/directory name
Release History

Release History

This version
History Node

0.1

History Node

0.1beta

History Node

0.1(alpha)

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Scavenger-0.1.tar.gz (2.3 kB) Copy SHA256 Checksum SHA256 Source Nov 6, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting