azure-docs-sdk-java/docs-ref-autogen/com.azure.search.documents....

15 строки
1.4 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.documents.indexes.FieldBuilderIgnore"
fullName: "com.azure.search.documents.indexes.FieldBuilderIgnore"
name: "FieldBuilderIgnore"
nameWithType: "FieldBuilderIgnore"
summary: "Marker annotation that indicates the field or method is to be ignored by converting to Search<wbr>Field."
syntax: "public interface **FieldBuilderIgnore**</br> implements <a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html\">Annotation</a>"
type: "interface"
desc: "Marker annotation that indicates the field or method is to be ignored by converting to SearchField. The annotation is useful in situations where a property definition doesn't cleanly map to a <xref uid=\"com.azure.search.documents.indexes.models.SearchField\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SearchField\"></xref> object, but its values still need to be converted to and from JSON. In that case, ignore annotation in json serializer library can't be used since it would disable JSON conversion. An example of a scenario where this is useful is when mapping between a string field in Azure AI Search and an enum property."
implements:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html\">Annotation</a>"
metadata: {}
package: "com.azure.search.documents.indexes"
artifact: com.azure:azure-search-documents:11.7.3