且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Lucene前缀通过标准分析器搜索索引数据

更新时间:2023-02-26 12:18:04

如果您要查询诸如工作*"之类的查询来查找工作",工人",工作"等,则可以使用文本执行这些查询用标准分析仪进行分析.

If you mean queries like "work*" to find "work", "worker", "working", etc. you can already perform those queries using text analyzed with the Standard Analyzer.

在此处记录: http://lucene.apache.org/core /3_6_0/queryparsersyntax.html#Wildcard%20Searches