On Sun, 9 Nov 2014, Alexander Alex wrote:
Traceback (most recent call last):
File "C:\index1.py", line 94, in
IndexFiles(sys.argv[1], os.path.join(base_dir, INDEX_DIR),
EnglishLemmaAnalyzer("english-bidirectional-distsim.tagger"))
File "C:\index1.py", line 48, in __init__
self.indexDoc
Traceback (most recent call last):
File "C:\index1.py", line 94, in
IndexFiles(sys.argv[1], os.path.join(base_dir, INDEX_DIR),
EnglishLemmaAnalyzer("english-bidirectional-distsim.tagger"))
File "C:\index1.py", line 48, in __init__
self.indexDocs(root, writer)
File "C:\index1.py", lin
Thanks Andi. am going to try these suggestions out.
On Sat, Oct 18, 2014 at 9:55 PM, Andi Vajda wrote:
>
> On Sat, 18 Oct 2014, Alexander Alex wrote:
>
> The init file in the pylucene egg. Below is it:
>>
>>
>> import os, sys
>>
>> if sys.platform == 'win32':
>> from jcc.windows import add_jvm
On Sat, 18 Oct 2014, Alexander Alex wrote:
The init file in the pylucene egg. Below is it:
import os, sys
if sys.platform == 'win32':
from jcc.windows import add_jvm_dll_directory_to_path
add_jvm_dll_directory_to_path()
import jcc, _lucene
else:
import _lucene
__dir__ = os.path.abspath(
The init file in the pylucene egg. Below is it:
import os, sys
if sys.platform == 'win32':
from jcc.windows import add_jvm_dll_directory_to_path
add_jvm_dll_directory_to_path()
import jcc, _lucene
else:
import _lucene
__dir__ = os.path.abspath(os.path.dirname(__file__))
class JavaError
On Sat, 18 Oct 2014, Alexander Alex wrote:
ok. I built the class files for the java files attached herein, add them to
lucene-core-3.6.2.jar at org.apache.lucene.analysis and
lucene-analyzers-3.6.2.jar at org.apache.lucene.analysis. I then added the
path of the dependencies to classpath in the
ok. I built the class files for the java files attached herein, add them to
lucene-core-3.6.2.jar at org.apache.lucene.analysis and
lucene-analyzers-3.6.2.jar at org.apache.lucene.analysis. I then added the
path of the dependencies to classpath in the init.py file. I ran the
typical index file usin
On Fri, 17 Oct 2014, Alexander Alex wrote:
Meanwhile, am using lucene 3.6.2 version. The problem is jvm instantiation
from any python code using lucene caused as a result of the classes I added
to lucene core.
-- Forwarded message --
I added a customized lucene analyzer class