indexing commands for search db