added ability to disable search indexing