@Documented @Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) @Repeatable(value=FullTextField.List.class) public @interface FullTextField
Note that this annotation only creates tokenized (multi-word) text fields. As a result:
value bridge
must be of type String
If you want to index a non-String value, use the GenericField
annotation instead.
If you want to index a String value, but don't want the field to be analyzed, or want it to be sortable,
use the KeywordField
annotation instead.
Modifier and Type | Required Element and Description |
---|---|
String |
analyzer |
Modifier and Type | Optional Element and Description |
---|---|
ContainerExtractorRef[] |
extractors |
String |
name |
Projectable |
projectable |
ValueBridgeRef |
valueBridge |
public abstract String analyzer
public abstract String name
public abstract Projectable projectable
GenericField.projectable()
public abstract ValueBridgeRef valueBridge
ValueBridgeRef
public abstract ContainerExtractorRef[] extractors
GenericField.extractors()
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.