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

org.hibernate.search.annotations.Text Maven / Gradle / Ivy

There is a newer version: 3.5.6-Final
Show newest version
//$Id: Text.java 10742 2006-11-07 01:03:16Z epbernard $
package org.hibernate.search.annotations;

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

@Retention( RetentionPolicy.RUNTIME )
@Target( {ElementType.METHOD, ElementType.FIELD} )
@Documented
/**
 * Specifies that a property of an entity is a Lucene
 * text field
 * @deprecated use @Field(index=Index.TOKENIZED, store=Store.YES)
 */
@Deprecated
public @interface Text {
	/**
	 * The field name
	 */
	String name() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy