public final class Field extends Object
| Constructor and Description |
|---|
Field() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAnalyzer()
Get the analyzer property: The name of the language analyzer to use for
the field.
|
List<Field> |
getFields()
Get the fields property: A list of sub-fields if this is a field of type
Edm.ComplexType or Collection(Edm.ComplexType).
|
String |
getIndexAnalyzer()
Get the indexAnalyzer property: The name of the analyzer used at
indexing time for the field.
|
String |
getName()
Get the name property: The name of the field, which must be unique
within the fields collection of the index or parent field.
|
String |
getSearchAnalyzer()
Get the searchAnalyzer property: The name of the analyzer used at search
time for the field.
|
List<String> |
getSynonymMaps()
Get the synonymMaps property: A list of the names of synonym maps to
associate with this field.
|
DataType |
getType()
Get the type property: The data type of the field.
|
Boolean |
isFacetable()
Get the facetable property: A value indicating whether to enable the
field to be referenced in facet queries.
|
Boolean |
isFilterable()
Get the filterable property: A value indicating whether to enable the
field to be referenced in $filter queries.
|
Boolean |
isKey()
Get the key property: A value indicating whether the field uniquely
identifies documents in the index.
|
Boolean |
isRetrievable()
Get the retrievable property: A value indicating whether the field can
be returned in a search result.
|
Boolean |
isSearchable()
Get the searchable property: A value indicating whether the field is
full-text searchable.
|
Boolean |
isSortable()
Get the sortable property: A value indicating whether to enable the
field to be referenced in $orderby expressions.
|
Field |
setAnalyzer(String analyzer)
Set the analyzer property: The name of the language analyzer to use for
the field.
|
Field |
setFacetable(Boolean facetable)
Set the facetable property: A value indicating whether to enable the
field to be referenced in facet queries.
|
Field |
setFields(List<Field> fields)
Set the fields property: A list of sub-fields if this is a field of type
Edm.ComplexType or Collection(Edm.ComplexType).
|
Field |
setFilterable(Boolean filterable)
Set the filterable property: A value indicating whether to enable the
field to be referenced in $filter queries.
|
Field |
setIndexAnalyzer(String indexAnalyzer)
Set the indexAnalyzer property: The name of the analyzer used at
indexing time for the field.
|
Field |
setKey(Boolean key)
Set the key property: A value indicating whether the field uniquely
identifies documents in the index.
|
Field |
setName(String name)
Set the name property: The name of the field, which must be unique
within the fields collection of the index or parent field.
|
Field |
setRetrievable(Boolean retrievable)
Set the retrievable property: A value indicating whether the field can
be returned in a search result.
|
Field |
setSearchable(Boolean searchable)
Set the searchable property: A value indicating whether the field is
full-text searchable.
|
Field |
setSearchAnalyzer(String searchAnalyzer)
Set the searchAnalyzer property: The name of the analyzer used at search
time for the field.
|
Field |
setSortable(Boolean sortable)
Set the sortable property: A value indicating whether to enable the
field to be referenced in $orderby expressions.
|
Field |
setSynonymMaps(List<String> synonymMaps)
Set the synonymMaps property: A list of the names of synonym maps to
associate with this field.
|
Field |
setType(DataType type)
Set the type property: The data type of the field.
|
public String getName()
public Field setName(String name)
name - the name value to set.public DataType getType()
public Field setType(DataType type)
type - the type value to set.public Boolean isKey()
public Field setKey(Boolean key)
key - the key value to set.public Boolean isRetrievable()
public Field setRetrievable(Boolean retrievable)
retrievable - the retrievable value to set.public Boolean isSearchable()
public Field setSearchable(Boolean searchable)
searchable - the searchable value to set.public Boolean isFilterable()
public Field setFilterable(Boolean filterable)
filterable - the filterable value to set.public Boolean isSortable()
public Field setSortable(Boolean sortable)
sortable - the sortable value to set.public Boolean isFacetable()
public Field setFacetable(Boolean facetable)
facetable - the facetable value to set.public String getAnalyzer()
public Field setAnalyzer(String analyzer)
analyzer - the analyzer value to set.public String getSearchAnalyzer()
public Field setSearchAnalyzer(String searchAnalyzer)
searchAnalyzer - the searchAnalyzer value to set.public String getIndexAnalyzer()
public Field setIndexAnalyzer(String indexAnalyzer)
indexAnalyzer - the indexAnalyzer value to set.public List<String> getSynonymMaps()
public Field setSynonymMaps(List<String> synonymMaps)
synonymMaps - the synonymMaps value to set.public List<Field> getFields()
Copyright © 2020 Microsoft Corporation. All rights reserved.