RE: Hits length with no sorting or scoring

2006-11-28 Thread Hirsch Laurence
The code works very well, Thanks, Laurie -Original Message- From: Paul Elschot [mailto:[EMAIL PROTECTED] Sent: 27 November 2006 18:52 To: java-user@lucene.apache.org Subject: Re: Hits length with no sorting or scoring On Monday 27 November 2006 14:30, Hirsch Laurence wrote: > He

Re: Hits length with no sorting or scoring

2006-11-27 Thread Paul Elschot
On Monday 27 November 2006 14:30, Hirsch Laurence wrote: > Hello, > > I have an application in which we only need to know the total number of > documents matching a query. In this case we do not need any sorting or > scoring or to store any reference to the matching documents. Can you > tell me

Hits length with no sorting or scoring

2006-11-27 Thread Hirsch Laurence
Hello, I have an application in which we only need to know the total number of documents matching a query. In this case we do not need any sorting or scoring or to store any reference to the matching documents. Can you tell me how to execute such a query with maximum performance? Thanks Laurie