removed fullindex-annotation attribute

This commit is contained in:
Michael Hunger
2011-03-28 02:23:38 +02:00
parent f00a713069
commit 0decb9e371
2 changed files with 1 additions and 8 deletions

View File

@@ -33,11 +33,6 @@ public @interface NodeEntity {
*/
boolean useShortNames() default true;
/**
* @return true if all fields of the entity will be indexed by default
*/
boolean fullIndex() default false;
/**
* <p>
* If partial is set, then construction of the node is delayed until the entity's id has been set by another persistent store. Only

View File

@@ -49,9 +49,7 @@ class IndexingPropertyFieldAccessorListenerFactory<S extends PropertyContainer,
private boolean isIndexed(final Field f) {
final Indexed indexedAnnotation = getIndexedAnnotation(f);
if (indexedAnnotation != null) return true;
final NodeEntity entityAnnotation = f.getDeclaringClass().getAnnotation(NodeEntity.class);
return (entityAnnotation!=null && entityAnnotation.fullIndex());
return indexedAnnotation != null;
}
private boolean isPropertyField(final Field f) {