My favorites | Sign in
Project Home Source
Project Information
Members

Absolutely minimalist implementation filesystem full text indexer in 62 lines of Python.

  • Script is 1894 bytes.
  • Runs from memory.
  • Blisteringly fast (for Python anyway). Indexes around 3.8mb/sec on a Macbook.
  • Incredibly naive (it'll try to index JPEGs)
  • Fun!

Usage:

$ fts.py [your_source_dir]

Query? include stdio

0.00 your_source_dir/main.h

Looking for a real full text indexer for Python? Check out Whoosh

Powered by Google Project Hosting