Auto-generate search query based on DSL in domain classes