Package com.azure.ai.openai.models
Class ElasticsearchIndexFieldMappingOptions
java.lang.Object
com.azure.ai.openai.models.ElasticsearchIndexFieldMappingOptions
Optional settings to control how fields are processed when using a configured Elasticsearch® resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ElasticsearchIndexFieldMappingOptions class. -
Method Summary
Modifier and TypeMethodDescriptionGet the contentFields property: The names of index fields that should be treated as content.Get the contentFieldsSeparator property: The separator pattern that content fields should use.Get the filepathField property: The name of the index field to use as a filepath.Get the titleField property: The name of the index field to use as a title.Get the urlField property: The name of the index field to use as a URL.Get the vectorFields property: The names of fields that represent vector data.setContentFields(List<String> contentFields) Set the contentFields property: The names of index fields that should be treated as content.setContentFieldsSeparator(String contentFieldsSeparator) Set the contentFieldsSeparator property: The separator pattern that content fields should use.setFilepathField(String filepathField) Set the filepathField property: The name of the index field to use as a filepath.setTitleField(String titleField) Set the titleField property: The name of the index field to use as a title.setUrlField(String urlField) Set the urlField property: The name of the index field to use as a URL.setVectorFields(List<String> vectorFields) Set the vectorFields property: The names of fields that represent vector data.
-
Constructor Details
-
ElasticsearchIndexFieldMappingOptions
public ElasticsearchIndexFieldMappingOptions()Creates an instance of ElasticsearchIndexFieldMappingOptions class.
-
-
Method Details
-
getTitleField
Get the titleField property: The name of the index field to use as a title.- Returns:
- the titleField value.
-
setTitleField
Set the titleField property: The name of the index field to use as a title.- Parameters:
titleField- the titleField value to set.- Returns:
- the ElasticsearchIndexFieldMappingOptions object itself.
-
getUrlField
Get the urlField property: The name of the index field to use as a URL.- Returns:
- the urlField value.
-
setUrlField
Set the urlField property: The name of the index field to use as a URL.- Parameters:
urlField- the urlField value to set.- Returns:
- the ElasticsearchIndexFieldMappingOptions object itself.
-
getFilepathField
Get the filepathField property: The name of the index field to use as a filepath.- Returns:
- the filepathField value.
-
setFilepathField
Set the filepathField property: The name of the index field to use as a filepath.- Parameters:
filepathField- the filepathField value to set.- Returns:
- the ElasticsearchIndexFieldMappingOptions object itself.
-
getContentFields
Get the contentFields property: The names of index fields that should be treated as content.- Returns:
- the contentFields value.
-
setContentFields
Set the contentFields property: The names of index fields that should be treated as content.- Parameters:
contentFields- the contentFields value to set.- Returns:
- the ElasticsearchIndexFieldMappingOptions object itself.
-
getContentFieldsSeparator
Get the contentFieldsSeparator property: The separator pattern that content fields should use.- Returns:
- the contentFieldsSeparator value.
-
setContentFieldsSeparator
public ElasticsearchIndexFieldMappingOptions setContentFieldsSeparator(String contentFieldsSeparator) Set the contentFieldsSeparator property: The separator pattern that content fields should use.- Parameters:
contentFieldsSeparator- the contentFieldsSeparator value to set.- Returns:
- the ElasticsearchIndexFieldMappingOptions object itself.
-
getVectorFields
Get the vectorFields property: The names of fields that represent vector data.- Returns:
- the vectorFields value.
-
setVectorFields
Set the vectorFields property: The names of fields that represent vector data.- Parameters:
vectorFields- the vectorFields value to set.- Returns:
- the ElasticsearchIndexFieldMappingOptions object itself.
-