Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 65198 invoked from network); 24 May 2008 08:59:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 May 2008 08:59:25 -0000 Received: (qmail 41781 invoked by uid 500); 24 May 2008 08:59:20 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 41747 invoked by uid 500); 24 May 2008 08:59:20 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 41736 invoked by uid 99); 24 May 2008 08:59:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 May 2008 01:59:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stephane.nicoll@gmail.com designates 209.85.132.250 as permitted sender) Received: from [209.85.132.250] (HELO an-out-0708.google.com) (209.85.132.250) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 May 2008 08:58:34 +0000 Received: by an-out-0708.google.com with SMTP id c37so243326anc.49 for ; Sat, 24 May 2008 01:58:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=UK9PX9DgqH7gUVUwkXVl1qwo06TgH1pFovP87iKUG0Q=; b=J4NMIPRBep6xSUEvwQXrNx4bHHewh8HE0PUrGcE5L8Dm8vOjZ60ECefu95UYtcM+gLW/VUH8CZS0NrqMJe62UX8PfAPOpv6m8+MchmWzoJz5Yi9MfB6wcZpzLVOFCiaggn7sZ8VMwQzB7aV0r2iuqHyR90trRk1Rd0YL/+EyF4E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NNGg5J+c0Gd06ZqAcbeo1QyAoFFnuYRtsu58QM1vdbqF5mOpZqBFMlx7gmiaIgj02huZyAHWXKsNzBi7saRrb+S8lKltwI349WeGx0UFpnK4pG7NxKNN8qonBxaOzzySh0aB3x/myJdbEORL4ySPk/kkMR1o+fDwBoMyBDAF5lg= Received: by 10.100.37.20 with SMTP id k20mr323631ank.5.1211619530491; Sat, 24 May 2008 01:58:50 -0700 (PDT) Received: by 10.100.178.12 with HTTP; Sat, 24 May 2008 01:58:50 -0700 (PDT) Message-ID: <541f12ca0805240158m63c62e51x757c322596135eba@mail.gmail.com> Date: Sat, 24 May 2008 10:58:50 +0200 From: "Stephane Nicoll" To: "Emmanuel Bernard" Subject: Re: confused about an entry in the FAQ Cc: java-user@lucene.apache.org In-Reply-To: <25DFC494-499E-4EFF-8CDA-FD3EB7032357@hibernate.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <541f12ca0805100635sf9629abs4cb9b8c0f41f6a79@mail.gmail.com> <48b038c60805101105q767968a2sc9de677130100742@mail.gmail.com> <541f12ca0805120313y302ece2cu374d25e378bc45e2@mail.gmail.com> <25DFC494-499E-4EFF-8CDA-FD3EB7032357@hibernate.org> X-Virus-Checked: Checked by ClamAV on apache.org On Sat, May 24, 2008 at 12:39 AM, Emmanuel Bernard wrote: > Hi Stephane > Can you tell me a bit more about the deadlocks you experience with Hibern= ate > Search. I have not seen such a situation so far and am interested to see = how > to fix the problem. It is hard to externalize a unit test since it relies on many factor. You need to have a significant amount of data (100.000 documents) and you need to browse all results in the lucene index (15.000 results for a typicial query in my case). I still don't find any optimized solution to do this even if I only need one field from the search result and the index is 5MB. I could put that into memory but that's not a viable solution mid-term. I've stopped using lucene. I am using sql like for now and we are investigating Oracle Text and postigs test extension. If anyone has an idea, i'm interested. For instance, knowing that the IDs I got from the database are < 500, would it be reasonable to build a lucene query like "my search query AND (id IN (the list of 500 ids)" <- will this hit the toomanyclausesexception? How can I build such a query efficently? Thanks, St=E9phane > > Emmanuel > > On May 12, 2008, at 06:13, Stephane Nicoll wrote: > >> Hibernate Search introduces deadlock with multiple threads and the >> lucene integration in spring modules does not seeem to do what I want. > > --=20 Large Systems Suck: This rule is 100% transitive. If you build one, you suck" -- S.Yegge --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org