the version of a Lucene index changes after an optimize?

2011-07-06 Thread gquaire
incremented after an optimize operation. Can you tell me if it is the case? If it is, how can I detect that the data have changed in the index ? Thanks for your help! gquaire - Jouve ITS France -- View this message in context: http://lucene.472066.n3.nabble.com/the-version-of-a-Lucene-i

Re: the version of a Lucene index changes after an optimize?

2011-07-07 Thread gquaire
ucene Index for these fields. I need to rebuild this list each time the index has been modified. If an optimize changes the Lucene index data, so I have to detect it as I do for classical upates. Can I use the version number of the index to detect such modifications? Best regards, gquaire 201

Re: the version of a Lucene index changes after an optimize?

2011-07-07 Thread gquaire
Thank you Erik for the information you gave me. I will test the version of the index in order to know when I need to refresh the component. Best Regards, gquaire - Jouve ITS France -- View this message in context: http://lucene.472066.n3.nabble.com/the-version-of-a-Lucene-index-changes