On Thu, 26 Mar 2015, Jose Lopez Veiga (JIRA) wrote:

EDIT: I found that the block happend when I import nltk, only in multriprocessing.

What is 'nltk' and what does it have to do with PyLucene ?

Andi..

This is a reported bug?

 was:
I've built a index that will be used for searching in a multiprocessing python 
program.

When I try to search in the index, some queries are ok(first ones), but then 
the program is blocked in the first seconds of the execution when I use 
QueryParser.parse or IndexSearcher.search

I tried all that I can think off but or the program is blocked or I get errors

What is the best way to use multiprocessing and pylucene? I can't find a 
example or tutorial about this.

Thank you for your help.


Pylucene and multiprocessing
----------------------------

                Key: PYLUCENE-34
                URL: https://issues.apache.org/jira/browse/PYLUCENE-34
            Project: PyLucene
         Issue Type: Bug
        Environment: pylucene 4.10, java 7, python 2.7.9, jcc 2.21, OS Mac
           Reporter: Jose Lopez Veiga
           Priority: Minor

I've built a index that will be used for searching in a multiprocessing python 
program.
When I try to search in the index, some queries are ok(first ones), but then 
the program is blocked in the first seconds of the execution when I use 
QueryParser.parse or IndexSearcher.search
I tried all that I can think off but or the program is blocked or I get errors
What is the best way to use multiprocessing and pylucene? I can't find a 
example or tutorial about this.
Thank you for your help.
EDIT: I found that the block happend when I import nltk, only in 
multriprocessing.
This is a reported bug?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to