package play.modules.search;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
 * Mark the fields to be included in the index
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Field {
    boolean stored() default false;
    boolean tokenize() default true;
    boolean sortable() default false;
    String joinField() default "";
}
