简体   繁体   English

Lucene 3:StandardAnalyzer在哪里?

[英]Lucene 3: Where is StandardAnalyzer?

I am working on Lucene 3.x (source code). 我正在研究Lucene 3.x(源代码)。 To start with I downloaded 首先我下载了

  1. latest source code from SVN 来自SVN的最新源代码
  2. stable code 3.0.2 from: http://www.apache.org/dyn/closer.cgi/lucene/java/ 稳定代码3.0.2来自: http//www.apache.org/dyn/closer.cgi/lucene/java/

The second one has source files for package org.apache.lucene.analysis.standard, however the first one does not have any such files (not even the package). 第二个包含org.apache.lucene.analysis.standard包的源文件,但是第一个没有任何这样的文件(甚至包都没有)。 Somewhere in issue list I found StandardAnalyzer is deprecated from 3.x 问题清单中的某处我发现StandardAnalyzer已从3.x弃用

Anyone, lucene developer here, enlighten me with reasons for such differences in source code? 任何人,lucene开发人员,在源代码中有这些差异的原因启发我?

It looks like they are moving the StandardAnalyzer (and the related stuff) under org.apache.lucene.modules.analysis.standard.* 看起来他们正在移动org.apache.lucene.modules.analysis.standard下的StandardAnalyzer(和相关的东西)。*

I don't know the reason though. 我不知道原因。 You can find the StandardAnalyzer in the SVN Trunk here: http://svn.apache.org/viewvc/lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analysis/standard/ 你可以在这里找到SVN Trunk中的StandardAnalyzer: http//svn.apache.org/viewvc/lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analysis/standard/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM