Annotation Type SearchableField
An annotation that directs
SearchIndexAsyncClient.buildSearchFields(Class, FieldBuilderOptions) to turn the
field or method into a searchable field.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionALexicalAnalyzerNameto associate as the search and index analyzer for thefield.ALexicalAnalyzerNameto associate as the index analyzer for thefield.booleanIndicates if the field or method should generate as a facetablefield.booleanIndicates if the field or method should generate as a filterablefield.booleanIndicates if the field or method should generate as a hiddenfield.booleanIndicates if the field or method should generate as a keyfield.booleanIndicates if the field or method should generate as a sortablefield.ALexicalNormalizerNameto associate as the normalizer for thefield.ALexicalAnalyzerNameto associate as the search analyzer for thefield.String[]A list ofSynonymMapnames to be associated with thefield.
-
Element Details
-
isKey
boolean isKeyIndicates if the field or method should generate as a keyfield.- Returns:
- A flag indicating if the field or method should generate as a key
field.
- Default:
- false
-
isHidden
boolean isHiddenIndicates if the field or method should generate as a hiddenfield.- Returns:
- A flag indicating if the field or method should generate as a hidden
field.
- Default:
- false
-
isFacetable
boolean isFacetableIndicates if the field or method should generate as a facetablefield.- Returns:
- A flag indicating if the field or method should generate as a facetable
field.
- Default:
- false
-
isSortable
boolean isSortableIndicates if the field or method should generate as a sortablefield.- Returns:
- A flag indicating if the field or method should generate as a sortable
field.
- Default:
- false
-
isFilterable
boolean isFilterableIndicates if the field or method should generate as a filterablefield.- Returns:
- A flag indicating if the field or method should generate as a filterable
field.
- Default:
- false
-
analyzerName
String analyzerNameALexicalAnalyzerNameto associate as the search and index analyzer for thefield.- Returns:
- The
LexicalAnalyzerNamethat will be associated as the search and index analyzer for thefield.
- Default:
- ""
-
searchAnalyzerName
String searchAnalyzerNameALexicalAnalyzerNameto associate as the search analyzer for thefield.- Returns:
- The
LexicalAnalyzerNamethat will be associated as the search analyzer for thefield.
- Default:
- ""
-
indexAnalyzerName
String indexAnalyzerNameALexicalAnalyzerNameto associate as the index analyzer for thefield.- Returns:
- The
LexicalAnalyzerNamethat will be associated as the index analyzer for thefield.
- Default:
- ""
-
normalizerName
String normalizerNameALexicalNormalizerNameto associate as the normalizer for thefield.- Returns:
- The
LexicalNormalizerNamethat will be associated as the normalizer for thefield.
- Default:
- ""
-
synonymMapNames
String[] synonymMapNamesA list ofSynonymMapnames to be associated with thefield.Assigning a synonym map to a field ensures that query terms targeting that field are expanded at query-time using the rules in the synonym map. The synonym map attribute may be changed on existing fields.
Currently, only one synonym map per field is supported.
- Returns:
- The
SynonymMapnames that will be associated with thefield.
- Default:
- {}
-