Questions tagged [pylucene]

PyLucene is a Python extension for accessing Java Lucene. Its goal is to allow you to use Lucene's text indexing and searching capabilities from Python.

PyLucene is a Python extension for accessing Java Lucene. Its goal is to allow you to use Lucene's text indexing and searching capabilities from Python.

PyLucene is not a Lucene port but a Python wrapper around Java Lucene. PyLucene embeds a Java VM with Lucene into a Python process.

128 questions
0
votes
0 answers

Error during pylucene installation in mac

I am trying to install pylucene to mac terminal I tried the instructions on the following link: http://macappstore.org/pylucene/ and when I installed, I get the following error Error: No available formula with the name "pylucene" ==> Searching…
vidhya9
  • 27
  • 1
  • 6
0
votes
0 answers

Apache Lucene / Elasticsearch snapshot restore with merge

I have successfully snapshotted and restored data multiple times in ElasticSearch (ES) using its APIs. But now I want to merge two snapshots in ES or directly in Lucene to restore a 'larger' chunk of data. Details: I take weekly snapshots of my data…
Harshdeep
  • 5,614
  • 10
  • 37
  • 45
0
votes
1 answer

PyLucene : lucene.initVM() causes a segmentation fault on linux RHEL7

I installed PyLucene 4.10.1 (which I believe is the latest). However, when I call for initVM(), a SIGSEGV is raised and I have no idea what to do about it. Here is the output : [zzz@xxx gitCode]$ python Python 2.7.5 (default, Oct 11 2015, 17:47:16)…
Floran Gmehlin
  • 824
  • 1
  • 11
  • 34
0
votes
1 answer

Import FilterLeafReader pylucene 4.9

I use PyLucene 4.9.0-0 for a school project and I need to use FilterLeafReader but I can't figure out how to import this class. I tried from org.apache.lucene.search import FilterLeafReader but i receive an import error.
kitz
  • 879
  • 2
  • 9
  • 24
0
votes
1 answer

error in indexing document with pylucene

I want to index some files and retrieve some information from them. I use this piece of code in python to index document: import sys ; import lucene ; from java.io import File ; from org.apache.lucene.analysis.standard import StandardAnalyzer…
user3102296
0
votes
1 answer

Pylucene 4.9.0 Ubuntu 14.04 Installation ImportError

I've been trying to install Pylucene on my Mac for a little over a week, and have given up on that in favor of trying to install it with Ubuntu through a virtual machine. I thought the installation process had gone well, so I fired up Python in the…
kylerthecreator
  • 1,509
  • 3
  • 15
  • 32
0
votes
1 answer

Pylucene and multiprocessing

I'm using pylucene to build a index that will be used in a multiprocessing python program. When I try to search in the index the execution is blocked when I use QueryParser.parse or IndexSearcher.search methods. The block doesn't happen all the time…
Veiga
  • 91
  • 1
  • 5
0
votes
1 answer

How do you install PyLucene on OpenSuSE or another rpm based distro?

I'm trying to install pylucene on opensuse; is there an rpm package in the repositories, or a repository I could add? On Ubunty this would be: sudo apt-get install pylucene I don't have any experience with rpm based distros, so a basic level…
collisionTwo
  • 899
  • 2
  • 12
  • 18
0
votes
1 answer

PyLucene JCC: implement a Java interface in python and receive Java thread callbacks through it

I'm playing around with my new toy, JCC 2.21, and am having trouble implementing callbacks in a python script. I have wrapped the following simple Java thread API and am calling it from python 2.7 (CPython), but when I call the…
predi
  • 5,528
  • 32
  • 60
0
votes
1 answer

How to build Python with Clang on Mac OS X Mavericks

How can I build Python with Clang on Mac OS X? Mavericks already comes with Python 2.7 installed. The reason I'm asking is because I am having issues trying to install PyLucene and it's possibly because Python was compiled with something other than…
stevetronix
  • 1,231
  • 2
  • 16
  • 32
0
votes
1 answer

Lucene: increase scoring when two terms are found

I'm searching for documents that contain two terms "one two" in different fields (e.g. title, content etc.). An example in PyLucene: query = "one two" clauses = [] for field in fields: clauses.append(BooleanClause.Occur.SHOULD) query =…
Peter Clause
  • 1,132
  • 9
  • 22
0
votes
1 answer

Problems with installing jcc and pylucene

I'm trying to install pylucene on Windows XP. I installed JDK on C:\Programme\Java\jdk1.6.0_18 . I also installed Visual Studio C++ Express to have a C++ compiler. As first step I'm trying to integrate jcc into python2.6 through the command:…
Christian
  • 25,249
  • 40
  • 134
  • 225
0
votes
2 answers

Exe built using pyinstaller on a Django with pylucene app giving JVM error

I am getting an error: "Error occurred during initialization of VM Unable to load native library: Can't find dependent libraries" The error arises when I try to execute my exe file. I have created exe file through pyinstaller on a django…
0
votes
1 answer

Problems with installing JCC on Mac OS

I want to use Pylucene, which requires instal JCC first. When I run python setup.py build, it stopped by an error as follows: found JAVAFRAMEWORKS = /System/Library/Frameworks/JavaVM.framework Loading source files for package…
vancexu
  • 1,548
  • 3
  • 19
  • 30
0
votes
1 answer

Pylucene eclipse plugin

Is there a Pylucene eclipse plugin? or am I missing something? I want it for Auto complete. Is the import structure same as java lucene
Kapil D
  • 2,662
  • 6
  • 28
  • 30
1 2 3
8
9