Python database indexer for site search