The Lucene QueryParser provides an easy way to parse query strings.
LuceneQueryParser提供了解析查询字符串的简单方法。
QueryParser has a static version of parse(), which I guess is there for convenience.
QueryParser有一个parse()的静态版本,我猜是为了方便。
You can instantiate a QueryParser with an Analyzer and default field String and keep it around.
你能用分析器和缺省字段字符串实例一个QueryParser。
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对象。
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对象。
应用推荐