How to create conditions in Hibernate Search Queries

I want to create hibernate search queries which use the following conditions:
1-equal
2-not equal
3-in
4- not in
5-between
6-not between
7-smaller
8-smaller or equal
9-greater
10-greater or equal
11-near

Maybe you could be a bit more specific about the problems you have?

The doc about building queries with the DSL is here: http://docs.jboss.org/hibernate/stable/search/reference/en-US/html_single/#search-query-querydsl .

It should give you all the necessary information to build your queries.