public interface FieldMetadataBuilder
Modifier and Type | Method and Description |
---|---|
FieldMetadataCreationContext |
field(String name,
FieldType type)
Adds a field to the list of all meta-data.
|
FieldMetadataCreationContext field(String name, FieldType type)
name
- The name of the fieldtype
- The type of the field; The type of the field created in
FieldBridge.set(String, Object, org.apache.lucene.document.Document, org.hibernate.search.bridge.LuceneOptions)
must match the type declared for the field here.Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved