Hits and HitCollector performance

2005-02-03 Thread aurora
I am trying to do some filtering and rearrangement of search result. Two possiblity come into mind are iterating though the Hits or making custom HitCollector. All documentation invaribly warn about the performance impact of using HitCollector with large result set. The scenario that google

RE: HITCOLLECTOR+SCORE+DELIMA

2004-12-13 Thread Vikas Gupta
On Dec 10, 2004, at 7:39 AM, Karthik N S wrote: I am still in delima on How to use the HitCollector for returning Hits hits between scores 0.2f to 1.0f , There is not a simple example for the same, yet lot's of talk on usage for the same on the form. 1) I am not 100% sure about

RE: HITCOLLECTOR+SCORE+DELIMMA

2004-12-13 Thread Karthik N S
Message- From: Vikas Gupta [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 3:17 PM To: Lucene Users List Subject: RE: HITCOLLECTOR+SCORE+DELIMA On Dec 10, 2004, at 7:39 AM, Karthik N S wrote: I am still in delima on How to use the HitCollector for returning Hits hits between scores

Re: HITCOLLECTOR+SCORE+DELIMMA

2004-12-13 Thread Nader Henein
of 'Contents' from various Html documents Please Advise me Karthik -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Monday, December 13, 2004 5:05 PM To: Lucene Users List Subject: Re: HITCOLLECTOR+SCORE+DELIMA On Dec 13, 2004, at 1:16 AM, Karthik N S wrote: So u

Re: HITCOLLECTOR+SCORE+DELIMMA

2004-12-13 Thread Erik Hatcher
On Dec 13, 2004, at 6:58 AM, Karthik N S wrote: Iterate over Hits. returns large hit values and Iteration on Hits for scores consumes time , so How Do I Limit my Search Between [ X.xf to Y.yf ] prior getting the Hits. Why do you need to do this *prior* to getting Hits? You have yet to justify

Re: HITCOLLECTOR+SCORE+DELIMMA

2004-12-13 Thread Erik Hatcher
On Dec 13, 2004, at 11:16 PM, Karthik N S wrote: time [ A simple search of 'handbags' returned 1,60,000 hits and time taken was 440 secs ,in production Env / May be our Coding is poor,But we are constantly improving the process ]. If your searches are taking 440 seconds, you have something

RE: HITCOLLECTOR+SCORE+DELIMMA

2004-12-13 Thread Karthik N S
PROTECTED] Sent: Tuesday, December 14, 2004 3:44 PM To: Lucene Users List Subject: Re: HITCOLLECTOR+SCORE+DELIMMA On Dec 13, 2004, at 11:16 PM, Karthik N S wrote: time [ A simple search of 'handbags' returned 1,60,000 hits and time taken was 440 secs ,in production Env / May be our Coding

Re: HITCOLLECTOR+SCORE+DELIMMA

2004-12-13 Thread Erik Hatcher
On Dec 14, 2004, at 5:42 AM, Karthik N S wrote: What exactly do u mean by this We've emphasized numerous times that calling hits.doc(i) is a resource hit. Don't do it for documents you aren't going to show. To filter by score, use hits.score(i) first. I am bit Confused u mean to say Replace

Re: HITCOLLECTOR+SCORE+DELIMA

2004-12-13 Thread Erik Hatcher
On Dec 13, 2004, at 1:16 AM, Karthik N S wrote: So u say I have to Build a Filter to Collect all the Scores between the 2 Ranges [ 0.2f to 1.0f] My message is being misinterpreted. I said filter as a verb, not a noun. :) In other words, I was not intending to mean write a Filter - a Filter

RE: HITCOLLECTOR+SCORE+DELIMMA

2004-12-13 Thread Karthik N S
: HITCOLLECTOR+SCORE+DELIMMA On Dec 13, 2004, at 6:58 AM, Karthik N S wrote: Iterate over Hits. returns large hit values and Iteration on Hits for scores consumes time , so How Do I Limit my Search Between [ X.xf to Y.yf ] prior getting the Hits. Why do you need to do this *prior* to getting Hits

RE: HITCOLLECTOR+SCORE+DELIMA

2004-12-12 Thread Karthik N S
: HITCOLLECTOR+SCORE+DELIMA On Dec 10, 2004, at 7:39 AM, Karthik N S wrote: I am still in delima on How to use the HitCollector for returning Hits hits between scores 0.2f to 1.0f , There is not a simple example for the same, yet lot's of talk on usage for the same on the form. Unfortunately

HITCOLLECTOR+SCORE+DELIMA

2004-12-10 Thread Karthik N S
Hi guys Apologies. I am still in delima on How to use the HitCollector for returning Hits hits between scores 0.2f to 1.0f , There is not a simple example for the same, yet lot's of talk on usage for the same on the form. Please somebody spare a bit of code (u'r intelligence

Re: HITCOLLECTOR+SCORE+DELIMA

2004-12-10 Thread Erik Hatcher
On Dec 10, 2004, at 7:39 AM, Karthik N S wrote: I am still in delima on How to use the HitCollector for returning Hits hits between scores 0.2f to 1.0f , There is not a simple example for the same, yet lot's of talk on usage for the same on the form. Unfortunately there isn't a clean way

HitCollector

2004-08-13 Thread Karthik N S
Hello Please somebody explain me how to use the HitCollector on a simple Searcher.search(query) to obtain score range between 1.0f and 0.02456f. Thx in advance WITH WARM REGARDS HAVE A NICE DAY [ N.S.KARTHIK

Re: HitCollector not serializable (Bug?)

2003-06-16 Thread Doug Cutting
The HitCollector-based search API is not meant to work remotely. To do so would involve an RPC-callback for every non-zero score, which would be extremely expensive. Also, just making HitCollector serializable would not be sufficient. You'd also need to pass in a HitCollector implementation

Re: HitCollector not serializable (Bug?)

2003-06-16 Thread Manfred Hardt
There should be a comment about this best practice in the API/Javadocs. Manfred The HitCollector-based search API is not meant to work remotely. To do so would involve an RPC-callback for every non-zero score, which would be extremely expensive. Also, just making HitCollector serializable