start work on a unified search page

more work on phots search and cleaning up of note search and indexer