concept expression in category hibernate

appears as: expression, expressions, n expression, expressions
Hibernate Search in Action

This is an excerpt from Manning's book Hibernate Search in Action.

Figure 1.3. Using one search box gives freedom of expression to users but introduces more complexity and work to the underlying search engine.

We’ll begin by studying the QueryParser, how it parses expressions and allows for user-friendly queries and the syntax it generates from our queries. Understanding this syntax is important when you run into problems. What could possibly be wrong if you query for a person’s last name such as Smith-Jones and obtain no results when you’re positive the name exists in the index?

Lucene allows the order of execution of queries to be modified to allow finer control of how we want our query to be executed. Also, it allows expressions to be grouped not only to improve the readability of the query expression but also to perform multiple operations on one field without having to enter a lot of expressions. The following two sections show how to use parentheses to accomplish this.