All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lumongo.fields.annotations.Indexed Maven / Gradle / Ivy

There is a newer version: 0.52
Show newest version
package org.lumongo.fields.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Specifics a field should be indexed
 *
 *
 */
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD })
@Repeatable(IndexedFields.class)
public @interface Indexed {
	/**
	 * Sets the analyzer to use to index the field
	 *
	 */
	String analyzerName() default "";

	String fieldName() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy