title: Index versioning with Lucene.net
body: <p>We are using Lucene to index objects from a RabbitMQ queue, in the event that there are multiple versions of the same object in RabbitMQ we will only ever have one document for it as we use updatedocument(which will find and delete existing records based on a search term and create a new one). </p>
  
  <p>What i would like to do is have a way of ensuring the index is of the most recent object, so if for instance we have 2 updates of an object to RabbitMQ and they are pulled from RabbitMQ out of order, if i have the field 'Version' with the values 1 and 2, is there a way to tell Lucene "dont update document if this document version is lower than the existing document"?</p>
  
  <p>Thanks</p>