Re: Fwd: Pylucene jvm CharArraySet Error

2014-11-09 Thread Alexander Alex
Traceback (most recent call last): File C:\index1.py, line 94, in module 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, line

Re: Fwd: Pylucene jvm CharArraySet Error

2014-11-09 Thread Andi Vajda
On Sun, 9 Nov 2014, Alexander Alex wrote: Traceback (most recent call last): File C:\index1.py, line 94, in module IndexFiles(sys.argv[1], os.path.join(base_dir, INDEX_DIR), EnglishLemmaAnalyzer(english-bidirectional-distsim.tagger)) File C:\index1.py, line 48, in __init__

Re: Fwd: Pylucene jvm CharArraySet Error

2014-10-18 Thread Andi Vajda
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__ =

Re: Fwd: Pylucene jvm CharArraySet Error

2014-10-18 Thread Alexander Alex
Thanks Andi. am going to try these suggestions out. On Sat, Oct 18, 2014 at 9:55 PM, Andi Vajda va...@apache.org 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

Pylucene jvm CharArraySet Error

2014-10-17 Thread Alexander Alex
I added a customized lucene analyzer class to lucene core in Pylucene. This class is google guava as a dependency because of the array handling function available in com.google.common.collect.Iterables in guava. When I tried to index using this analyzer, I got the following error: Traceback (most

Fwd: Pylucene jvm CharArraySet Error

2014-10-17 Thread Alexander Alex
Subject: Pylucene jvm CharArraySet Error To: pylucene-dev@lucene.apache.org I added a customized lucene analyzer class to lucene core in Pylucene. This class is google guava as a dependency because of the array handling function available in com.google.common.collect.Iterables in guava. When I

Re: Fwd: Pylucene jvm CharArraySet Error

2014-10-17 Thread Andi Vajda
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