Re: IndexWriter.addIndexes & optimizatio

2006-06-11 Thread vipin sharma
- > Just set your maxBufferedDocs to as high a number as your RAM/heap will let you, and pick a mergeFactor that is high, but doesn't get you in trouble with open files. can you please explaing this in brief?? regards and thanks, On 6/9/06, Otis Gospodnetic <[EMAIL PROTECTED]> wrote: When wri

Getting count on distinct values of a field.

2006-06-12 Thread vipin sharma
Hi, i am having problem in getting the count on distict values of a field. The reason for getting this value is that, each of all documents in index belongs to one predefined class and i want to get the number of documents belonging to each class. Regards..