The queryString has to be text, of course.
But you can search for Strings (inside quotes), numbers or dates.
Searching for dates is a bit tricky, because you never know which part the server will interpret as month or day...
Simply manually enter your query in the Notes client's search bar. If it works, it should work from XPages, too.