public static class IndexFields.Builder extends Object
| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
| Modifier and Type | Method and Description |
|---|---|
IndexFields |
build()
Builds the index fields.
|
IndexFields.Builder |
exclude(String exclude)
Field to exclude during indexing.
|
IndexFields.Builder |
include(String include)
Field to include during indexing.
|
IndexFields.Builder |
mappings(String from,
String to)
Field to map during indexing.
|
public IndexFields build()
public IndexFields.Builder exclude(String exclude)
exclude - field to excludepublic IndexFields.Builder include(String include)
include - field to includepublic IndexFields.Builder mappings(String from, String to)
from - the field name to mapto - to field name to map the field toCopyright © 2015–2016 IBM Watson. All rights reserved.