Added --limit option to indexing, to facilitate development.