@@ -0,0 +1,1093 @@
+package tests;%0A%0Aimport com.caucho.junit.ConfigurationBaratine;%0Aimport com.caucho.junit.RunnerBaratine;%0Aimport com.caucho.lucene.LuceneEntry;%0Aimport com.caucho.lucene.LuceneIndexImpl;%0Aimport com.caucho.lucene.LuceneWorkerImpl;%0Aimport junit.framework.Assert;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0A%0Aimport java.io.IOException;%0Aimport java.util.concurrent.ExecutionException;%0A%0A/**%0A * title: tests text update%0A */%0A@RunWith(RunnerBaratine.class)%0A@ConfigurationBaratine(services = %7BLuceneWorkerImpl.class,LuceneIndexImpl.class%7D,%0A  logs = %7B@ConfigurationBaratine.Log(name = %22com.caucho%22, level = %22FINER%22)%7D,%0A  testTime = 0, pod = %22lucene%22)%0Apublic class T101 extends BaseTest%0A%7B%0A  @Test%0A  public void test()%0A    throws InterruptedException, ExecutionException, IOException%0A  %7B%0A    update(%220%22, %22mary had a little lamb%22);%0A    update(%220%22, %22mary had a little dog%22);%0A%0A    LuceneEntry%5B%5D result = search(%22dog%22);%0A%0A    Assert.assertEquals(1, result.length);%0A    Assert.assertEquals(%220%22, result%5B0%5D.getExternalId());%0A%0A    result = search(%22lamb%22);%0A%0A    Assert.assertEquals(0, result.length);%0A  %7D%0A%7D%0A

add update test