Restrict length of search input to 255

The server wouldn't like requests > 255 chars anyways.

Bug: 65560
Change-Id: I6b92ebe605162d50d5aa63b4808ecf22d6cea579