Interface StringIndexFieldTypeOptionsStep<S extends StringIndexFieldTypeOptionsStep<?>>
- Type Parameters:
S
- The "self" type (the actual exposed type of this step).
- All Superinterfaces:
IndexFieldTypeConverterStep<S,
,String> IndexFieldTypeFinalStep<String>
,IndexFieldTypeOptionsStep<S,
,String> SearchableProjectableIndexFieldTypeOptionsStep<S,
,String> StandardIndexFieldTypeOptionsStep<S,
String>
public interface StringIndexFieldTypeOptionsStep<S extends StringIndexFieldTypeOptionsStep<?>>
extends StandardIndexFieldTypeOptionsStep<S,String>
The initial and final step in a "string" index field type definition, where optional parameters can be set.
-
Method Summary
Modifier and TypeMethodDescriptionDefine the type as analyzed.highlightable
(Collection<Highlightable> highlightable) normalizer
(String normalizerName) Define the type as normalized.searchAnalyzer
(String searchAnalyzerName) Overridesanalyzer(java.lang.String)
to use for query parameters at search time.termVector
(TermVector termVector) Methods inherited from interface org.hibernate.search.engine.backend.types.dsl.IndexFieldTypeConverterStep
dslConverter, projectionConverter
Methods inherited from interface org.hibernate.search.engine.backend.types.dsl.IndexFieldTypeFinalStep
toIndexFieldType
Methods inherited from interface org.hibernate.search.engine.backend.types.dsl.SearchableProjectableIndexFieldTypeOptionsStep
indexNullAs, projectable, searchable
Methods inherited from interface org.hibernate.search.engine.backend.types.dsl.StandardIndexFieldTypeOptionsStep
aggregable, sortable
-
Method Details
-
analyzer
Define the type as analyzed.Incompatible with
normalizer(String)
.- Parameters:
analyzerName
- The name of an analyzer to apply to values before indexing and when querying the index. See the reference documentation for more information about analyzers and how to define them.- Returns:
this
, for method chaining.
-
searchAnalyzer
Overridesanalyzer(java.lang.String)
to use for query parameters at search time.A search analyzer can only be set if an analyzer was set through
analyzer(String)
.- Parameters:
searchAnalyzerName
- The name of an analyzer to apply to values when querying the index only. It overrides theanalyzer(String)
when querying the index. See the reference documentation for more information about analyzers and how to define them.- Returns:
this
, for method chaining.
-
normalizer
Define the type as normalized.Incompatible with
analyzer(String)
.- Parameters:
normalizerName
- The name of a normalizer to apply to values before indexing and when querying the index. See the reference documentation for more information about normalizers and how to define them.- Returns:
this
, for method chaining.
-
norms
- Parameters:
norms
- Whether index-time scoring information for the field should be stored or not.- Returns:
this
, for method chaining.- See Also:
-
termVector
- Parameters:
termVector
- The term vector storing strategy.- Returns:
this
, for method chaining.- See Also:
-
highlightable
- Parameters:
highlightable
- Whether highlighting is supported and if so which highlighter types can be applied. PassCollections.singleton(Highlightable.NO)
to disable highlighting.- Returns:
this
, for method chaining.- See Also:
-