Re : Stop search process when a given number of hits is reached

2008-08-07 Thread renou oki
Thanks a lot for your responses... I have tried the HitCollector and throw an exception when the limit of hits is reached... It works fine and the search time is really reduce when there is a lot of docs which are matching the query... I did that : public class CountCollector extends HitCollec

Stop search process when a given number of hits is reached

2008-08-07 Thread renou oki
Hello Is there a way to stop the search process when a given number of hits is reached? I have a counter feature which displays how many docs match a query. This counter is blocked; I mean that if there are more than 500 docs, it will just display "more than 500". I don't care about the exact

Re: Problem with search an exact word and stemming

2008-06-27 Thread renou oki
n with the $ at the end. >> >> This does make your index a bit larger, but not as much as you'd expect. >> >> Best >> Erick >> >> On Wed, Jun 25, 2008 at 4:21 AM, renou oki <[EMAIL PROTECTED]> wrote: >> >> >> >>> Hell

Problem with search an exact word and stemming

2008-06-25 Thread renou oki
Hello, I have a stemmed index, but i want to search the exact form of a word. I use French Analyzer, so for instance "progression", "progresser" are indexed with the linguistic root "progress". But if I want to search the word "progress" (and only this word), I have to many hits (because of "progr

Problem with search an exact word and stemming...

2008-06-25 Thread renou oki
Hello, I have a stemmed index, but i want to search the exact form of a word. I use French Analyzer, so for instance "progression", "progresser" are indexed with the linguistic root "progress". But if I want to search the word "progress" (and only this word), I have to many hits (because of "progr