indexer: Handle hostname as string