Upgrade to GAE 1.8.1.1
CAPEDWARF-177 Executing an empty text search query throws RuntimeException "Should never come here"
Make sure leading&trailing whitespace in text search queries is ignored