The Lucene QueryParser provides an easy way to parse query strings.
Lucene QueryParser提供了解析查询字符串的简单方法。
QueryParser has a static version of parse(), which I guess is there for convenience.
QueryParser 有一个parse() 的静态版本,我猜是为了方便。
The QueryParser takes a query string, much like what you'd put into an Internet search engine, and generates a Query object.
QueryParser 拿到一个查询字符串,就像你放进Internet 搜索引擎中的,生成一个Query 对象。
应用推荐