removed fullindex-annotation attribute
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user