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() 的静态版本,我猜是为了方便。
You can instantiate a QueryParser with an Analyzer and default field String and keep it around.
你能用分析器和缺省字段字符串实例一个QueryParser。
应用推荐