node parses search query