Re: indexing in lucene 1.9.1

2006-05-22 Thread Harini Raghavan
Hi Mike, Yes you are right, when we run the optimize(), it creates one large segment file and makes the searching faster. But the issue is our index keeps growing every minute as we download documents add to the index, so we cannot call optimize so often. The indexing seemed to be fine till w

Re: indexing in lucene 1.9.1

2006-05-22 Thread Mike Richmond
Hello Harini, When you are finished indexing the documents are you running the optimize() method on the IndexWriter before closing it? This should reduce the number of segments and make searching faster. Just a thought. --Mike On 5/22/06, Harini Raghavan <[EMAIL PROTECTED]> wrote: Hi All,

indexing in lucene 1.9.1

2006-05-21 Thread Harini Raghavan
Hi All, We have recently upgraded from lucene 1.4.3 to lucene 1.9.1 version. After the upgrade, we are facing some issues: 1. Indexing seems to be behaving differently. There were more than 300 segment files(.cfs) in the index and the IndexSearcher is taking forever to refresh the index. Have t