@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 |
|---|---|
ContainerExtraction |
extraction |
String |
name |
Norms |
norms |
Projectable |
projectable |
Searchable |
searchable |
TermVector |
termVector |
ValueBinderRef |
valueBinder |
ValueBridgeRef |
valueBridge |
public abstract String analyzer
public abstract String name
public abstract TermVector termVector
TermVectorpublic abstract Projectable projectable
GenericField.projectable(),
Projectablepublic abstract Searchable searchable
GenericField.sortable(),
Searchablepublic abstract ValueBridgeRef valueBridge
valueBinder() is set.GenericField.valueBridge(),
ValueBridgeRefpublic abstract ValueBinderRef valueBinder
valueBridge() is set.GenericField.valueBridge(),
ValueBinderRefpublic abstract ContainerExtraction extraction
GenericField.extraction()Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.