Return-Path: X-Original-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Delivered-To: apmail-lucene-pylucene-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E9EB17C97 for ; Thu, 26 Mar 2015 17:57:55 +0000 (UTC) Received: (qmail 47937 invoked by uid 500); 26 Mar 2015 17:57:39 -0000 Delivered-To: apmail-lucene-pylucene-dev-archive@lucene.apache.org Received: (qmail 47906 invoked by uid 500); 26 Mar 2015 17:57:39 -0000 Mailing-List: contact pylucene-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pylucene-dev@lucene.apache.org Delivered-To: mailing list pylucene-dev@lucene.apache.org Received: (qmail 47895 invoked by uid 99); 26 Mar 2015 17:57:39 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2015 17:57:39 +0000 Received: from [192.168.10.4] (unknown [207.198.105.22]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 2AB601A0466 for ; Thu, 26 Mar 2015 17:57:39 +0000 (UTC) Date: Thu, 26 Mar 2015 10:57:38 -0700 (PDT) From: Andi Vajda X-X-Sender: vajda@yuzu.local Reply-To: Andi Vajda To: pylucene-dev@lucene.apache.org Subject: Re: [jira] [Updated] (PYLUCENE-34) Pylucene and multiprocessing In-Reply-To: Message-ID: References: User-Agent: Alpine 2.01 (OSX 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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) >