Remove unused Lucene references including Query.UserIndex and associated methods

This commit is contained in:
Rob Bygrave
2014-01-31 01:26:12 +13:00
parent db3140512f
commit 0014ea3501
22 changed files with 266 additions and 603 deletions
@@ -7,7 +7,6 @@ import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;
import com.avaje.ebean.Query.UseIndex;
import com.avaje.ebean.annotation.CacheStrategy;
import com.avaje.ebean.annotation.EntityConcurrencyMode;
import com.avaje.ebean.annotation.NamedUpdate;
@@ -135,11 +134,6 @@ public class AnnotationClass extends AnnotationParser {
cacheOptions.setNaturalKey(propName);
}
}
if (!UseIndex.DEFAULT.equals(cacheStrategy.useIndex())) {
// a specific text index strategy has been defined
descriptor.setUseIndex(cacheStrategy.useIndex());
}
}
private void readNamedQueries(NamedQueries namedQueries) {