lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Lopez Veiga (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PYLUCENE-34) Pylucene and multiprocessing
Date Thu, 26 Mar 2015 16:55:53 GMT

     [ https://issues.apache.org/jira/browse/PYLUCENE-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jose Lopez Veiga updated PYLUCENE-34:
-------------------------------------
    Description: 
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?

  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)

Mime
View raw message