01: package org.compass.annotations;
02:
03: import java.lang.annotation.ElementType;
04: import java.lang.annotation.Inherited;
05: import java.lang.annotation.Retention;
06: import java.lang.annotation.RetentionPolicy;
07: import java.lang.annotation.Target;
08:
09: import org.compass.core.engine.subindex.SubIndexHash;
10:
11: /**
12: * Configures a {@link SubIndexHash} associated with the given {@link Searchable}
13: *
14: * @author kimchy
15: * @see SubIndexHash
16: */
17: @Target(ElementType.TYPE)
18: @Retention(RetentionPolicy.RUNTIME)
19: @Inherited
20: public @interface SearchableSubIndexHash {
21:
22: /**
23: * The type of the given {@link SubIndexHash} implementation
24: */
25: Class<? extends SubIndexHash> value();
26:
27: /**
28: * Settings associated with the actual {@link SubIndexHash} implementation.
29: */
30: SearchSetting[] settings() default {};
31: }
|