I: incremental index

2003-03-28 Thread Rende Francesco, CS
Hi, I'm a lucene user and i found it a very interesting software. My question is related to how manage incremental update of the lucene index. In particular, adding more documents to a big index (~10 Gb) is the same of creating a new segment and then merge the indexes? Adding document to an

Re: I: incremental index

2003-03-28 Thread Leo Galambos
Adding a new document does not immediately modify an index, so the time it takes to add a new document to an existing index is not proportional to the index size. It is constant. The execution time of optimize() is proportional to the index size, so you want to do that only if you really

Re: I: incremental index

2003-03-28 Thread Otis Gospodnetic
I believe it takes constant time to add a new document to an index because when adding a new document a new segment is created on the disk, 'separate' from the other, existing, index segments. The size of the index may come into play when this new segment has to be merged with the existing