Package org.hibernate.search.annotations
package org.hibernate.search.annotations
-
ClassDescriptionDefine an Analyzer for a given entity, method, field or Field The order of precedence is as such: - @Field - field / method - entity - default Either describe an explicit implementation through the
implparameter or use an external @AnalyzerDef definition through thedefparameterReusable analyzer definition.Reusable analyzer definitions.Allows to dynamically select a named analyzer through aDiscriminatorimplementation.Apply a boost factor on a field or a whole entityWhile extracting values from the index might be faster than extracting them from a Database, it might still involve costly IO operations.Defines the temporal resolution of a given field Calendar are stored as String in GMTDefine aCharFilterFactoryand its parametersThis annotation allows a user to apply an implementation class to a Lucene document to manipulate it in any way the user sees fit.Describe the owning entity as being part of the target entity's index (to be more accurate, being part of the indexed object graph).Defines the temporal resolution of a given field Date are stored as String in GMTDeclare a field as the document id.Apply a dynamic boost factor on a field or a whole entity.Marks a method as a factory method for a given type.Annotation used for marking a property as indexable.specifies a given field bridge implementationHow should we interact with Lucene'sFieldCache.Mark a property as indexable into different fields Useful if the field is used for sorting and searchingCache mode strategy forFullTextFilterDefs.Defines a FullTextFilter that can be optionally applied to every FullText Queries While not related to a specific indexed entity, the annotation has to be set on one of themA list of FullTextFilterDefDefines how an Field should be indexedMarks a method as a key constructor for a given type.Extension annotation for@Fieldsupporting Lucene's numeric field feature.Numeric extension for Fields annotationParameter (basically key/value pattern)Objects whose identifier is provided externally and not part of the object state should be marked with this annotationDate indexing resolution.Whether or not the value is stored in the documentDefines the term vector storing strategyDefine aTokenFilterFactoryand its parameters.Define aTokenizerFactoryand its parameters.