I'm trying to use lucene 4.0 snapshot version, however StandardAnalyzer is missing in this version :(. Anybody knows on how to replace this?
In the sample code given in the Lucene Summary
the StandardAnalyzer is used, but no where to be found..
thanks in advance.
Looks like the StandardAnalyzer was moved under org.apache.lucene.modules.analysis.standard.* You can find the StandardAnalyzer in the SVN Trunk
The reason is here
Here is the Maven dependency:
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-analyzers-common</artifactId>
<version>4.0.0-BETA</version>
</dependency>
Since 4.0, I see it here: lucene-4.0.0\analysis\common\src\java\org\apache\lucene\analysis\standard In eclipse, create a separate project for analysis, and include in its build path the core project. You will find some red marks because of some foreign characters in foreign language packages, I have ignored them for now because I only wanted standard analyzer. Hope this helps and saves you a lot of man hours and some frustration.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With