Re: Getting all the matching documents for a search

2006-06-01 Thread Erik Hatcher
On Jun 1, 2006, at 3:49 AM, Chun Wei Ho wrote: I use Hits to search for and get documents matching a particular query, e.g.: Hits hits = indexSearcher.search(new TermQuery(new Term ("startswith","A"))); but it is not returning all the matching documents in the index. From experimentation it

Getting all the matching documents for a search

2006-06-01 Thread Chun Wei Ho
Hi, I use Hits to search for and get documents matching a particular query, e.g.: Hits hits = indexSearcher.search(new TermQuery(new Term("startswith","A"))); but it is not returning all the matching documents in the index. From experimentation it appears to return about less than half the match