I've just done a fresh install of pylucene 4.10.1-1 and for the life of me,
can't find or get the JapaneseAnalyzer to work or be found:

09:01:10 2 0> python
Python 2.7.2 (default, Sep  6 2012, 13:28:22)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from org.apache.lucene.analysis.ja import JapaneseAnalyzer;
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named org.apache.lucene.analysis.ja
>>> import lucene
>>> from org.apache.lucene.index import IndexReader, DirectoryReader
>>> from org.apache.lucene.store import SimpleFSDirectory
>>> from org.apache.lucene.analysis.ja import JapaneseAnalyzer
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named ja
>>> from org.apache.lucene.document import Document, Field, FieldType
>>> from org.apache.lucene.util import Version
>>> from org.apache.lucene.search import TermQuery, BooleanQuery
>>> from org.apache.lucene.index import IndexWriter, IndexWriterConfig
>>> from java.io import File
>>>

What am I missing???

Reply via email to