languages supported by lucene.net

百般思念 提交于 2020-02-21 13:35:42

问题


-What all languages supported by Lucene.net?

-For eg. chinese,russian,japanese,arabic,french,german etc.

-If not, is there is any way to index other languages?


回答1:


Lucene is not limited to English, nor any other language. To index text properly, you need to use an Analyzer appropriate for the language of the text you are indexing. Lucene's default Analyzers work well for English. There are a number of other Analyzers in Lucene Sandbox, including those for Chinese, Japanese, and Korean.

Here is a list of analyzer which you can integrated with your Lucene.NET: https://svn.apache.org/repos/asf/incubator/lucene.net/trunk/src/contrib/Analyzers/

As you can see above lots of language are already included in the analyzers and if not included, go ahead and create it because if it is not listed only means, no one tried it yet, however it does not mean it is not supported.

Also read this SO discussion on Indexing multi-lingual content with Lucene.net




回答2:


Here is the latest version. https://lucene.apache.org/core/8_3_1/analyzers-common/index.html

Google the latest version of Lucene and change the version number in the link for the latest versions in time of your search.



来源:https://stackoverflow.com/questions/10971261/languages-supported-by-lucene-net

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!