Warn over api when prefix search too long

Bug: 54048
Change-Id: I4023d2f0241ccb64a8107394d2065ab1978c6d57