Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A really simple search backend for your site based on a crawler that scanns all pages in sitemap.xml

Project Description


Simplesearch provides an easy and really simple way to offer search on your website.
it installs a Class that you can use to execute queries and a managment command you can use to update the indext pages based on a sitemap.xml

Quick start

1. Add "simplesearch" to your INSTALLED_APPS setting like this::


2. edit file to include the location of the search index.

INDEX_DIR = os.path.join(BASE_DIR, 'index')

2. run the command ./ update_search_index <the url of the sitemap>

3. access the search backen from your views with:
from simplesearch import SimpleSiteSearcher

searcher = SimpleSiteSearcher()
results ='a query String')

This will return a list like this:

title:'some tiele',
text:'relevant part of the searched text with <b> on the important terms',
url:'the url to the page on your site where the text was found'
you may then use the list in your templates to display the search results.

Release History

This version
History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(3.3 kB) Copy SHA256 Hash SHA256
Source None May 2, 2015

Supported By

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 Google Google Cloud Servers DreamHost DreamHost Log Hosting