On Sat, May 24, 2008 at 12:39 AM, Emmanuel Bernard
<[EMAIL PROTECTED]> 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
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.
Emmanuel
On May 12, 2008, at 06:13, Stephane Nicoll wrote:
Hibernate Search introduces deadlock with m
ephane Nicoll <[EMAIL PROTECTED]>
> To: java-user@lucene.apache.org
> Sent: Wednesday, May 14, 2008 2:38:25 AM
> Subject: Re: confused about an entry in the FAQ
>
> ping. Sorry for the long email but I prefer to provide all information first.
>
> On Mon, May 12, 2008 at
ping. Sorry for the long email but I prefer to provide all information first.
On Mon, May 12, 2008 at 12:13 PM, Stephane Nicoll
<[EMAIL PROTECTED]> wrote:
> I tried all this and I am confused about the result. I am trying to
> implement an hybrid query handler where I fetch the IDs from a
> data
I tried all this and I am confused about the result. I am trying to
implement an hybrid query handler where I fetch the IDs from a
database criteria and the IDs from a full text lucene query and I
intersect them to return the result to the user. The database query
and the intersection works fine ev
Did you try the IndexSearcher.doc(int i, FieldSelector fieldSelector) method?
Could be faster because Lucene don't have do "prepare" the whole document.
Patrick
On Sat, May 10, 2008 at 9:35 AM, Stephane Nicoll
<[EMAIL PROTECTED]> wrote:
> From the FAQ:
>
> "Don't iterate over more hits than nee
Sorry I don't get it. Do you have a sample code?
Sent from my iPhone
On 10 May 2008, at 17:43, "John Wang" <[EMAIL PROTECTED]> wrote:
If your indexed field is not used to further filtering out the doc nor
further scoring, you should use some sort of priority queueing
mechanism to
gather the
If your indexed field is not used to further filtering out the doc nor
further scoring, you should use some sort of priority queueing mechanism to
gather the top N documents. You can then call reader.document() on those
docs if necc.
-John
On Sat, May 10, 2008 at 6:35 AM, Stephane Nicoll <[EMAIL
>From the FAQ:
"Don't iterate over more hits than needed.
Iterating over all hits is slow for two reasons. Firstly, the search()
method that returns a Hits object re-executes the search internally
when you need more than 100 hits. Solution: use the search method that
takes a HitCollector instead."