@Documented @Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) @Repeatable(value=NonStandardField.List.class) @PropertyMapping(processor=@PropertyMappingAnnotationProcessorRef(type=org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.NonStandardFieldProcessor.class)) public @interface NonStandardField
This is for advanced use cases, when defining a field whose type is only supported in a specific backend.
If you can use a standard index field type, use the GenericField annotation instead,
or one of the specialized annotations: FullTextField, KeywordField, ...
| Modifier and Type | Optional Element and Description |
|---|---|
ContainerExtraction |
extraction |
String |
name |
ValueBinderRef |
valueBinder |
public abstract String name
public abstract ValueBinderRef valueBinder
GenericField.valueBinder(),
ValueBinderRefpublic abstract ContainerExtraction extraction
GenericField.extraction()Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.