For example, in search I simply pass query on: https://github.com/peerlibrary/peerlibrary/blob/index-views/server/search.coffee#L12

So this fields does not even have to be string. :-) But not make it too big. :-)