Partial search implementation (not working yet)