Limiting hits?

2006-01-19 Thread Daniel Pfeifer
Hi, I am currently looking for a way to limit the amount of Hits which are returned by a Query. What I am doing is following: Searcher s = ...; Query q = QueryParser.parse(..., ..., new StandardAnalyzer()); searcher.search(query); We have approximately 10 million products in our Index and of

Re: Limiting hits?

2006-01-19 Thread Yonik Seeley
PROTECTED] wrote: Are you certain? I am quite sure we retrieve a huge amount of data if there are thousands of matches to one query. -Original Message- From: Yonik Seeley [mailto:[EMAIL PROTECTED] Sent: Thu 2006-01-19 16:45 To: java-user@lucene.apache.org Subject: Re: Limiting hits