parser for simple query search done