@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface SearchableField
SearchIndexAsyncClient.buildSearchFields(Class, FieldBuilderOptions)
to turn the
field or method into a searchable field
.Modifier and Type | Optional Element and Description |
---|---|
String |
analyzerName
A
LexicalAnalyzerName to associate as the search and index analyzer for the field . |
String |
indexAnalyzerName
A
LexicalAnalyzerName to associate as the index analyzer for the field . |
boolean |
isFacetable
Indicates if the field or method should generate as a facetable
field . |
boolean |
isFilterable
Indicates if the field or method should generate as a filterable
field . |
boolean |
isHidden
Indicates if the field or method should generate as a hidden
field . |
boolean |
isKey
Indicates if the field or method should generate as a key
field . |
boolean |
isSortable
Indicates if the field or method should generate as a sortable
field . |
String |
searchAnalyzerName
A
LexicalAnalyzerName to associate as the search analyzer for the field . |
String[] |
synonymMapNames
A list of
SynonymMap names to be associated with the field . |
public abstract String analyzerName
LexicalAnalyzerName
to associate as the search and index analyzer for the field
.LexicalAnalyzerName
that will be associated as the search and index analyzer for the field
.public abstract String searchAnalyzerName
LexicalAnalyzerName
to associate as the search analyzer for the field
.LexicalAnalyzerName
that will be associated as the search analyzer for the field
.public abstract String indexAnalyzerName
LexicalAnalyzerName
to associate as the index analyzer for the field
.LexicalAnalyzerName
that will be associated as the index analyzer for the field
.public abstract String[] synonymMapNames
SynonymMap
names to be associated with the field
.
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.
SynonymMap
names that will be associated with the field
.Copyright © 2021 Microsoft Corporation. All rights reserved.