lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Nicoll" <>
Subject Re: confused about an entry in the FAQ
Date Sat, 24 May 2008 08:58:50 GMT
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 Hibernate
> 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?


> 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.

Large Systems Suck: This rule is 100% transitive. If you build one,
you suck" -- S.Yegge

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message