public class IndexConfiguration extends GenericModel
DocumentConversion
Constructor and Description |
---|
IndexConfiguration(String serviceInstanceId,
String clusterId,
String searchCollectionName)
Constructor for the Retrieve and Rank configuration.
|
IndexConfiguration(String serviceInstanceId,
String clusterId,
String searchCollectionName,
IndexFields fields)
Constructor for the Retrieve and Rank configuration.
|
Modifier and Type | Method and Description |
---|---|
String |
getClusterId()
Gets the cluster id for the Retrieve and Rank service.
|
IndexFields |
getFields()
Gets the fields object to pass to the Retrieve and Rank service.
|
String |
getSearchCollectionName()
Gets the search collection name for the Retrieve and Rank service.
|
String |
getServiceInstanceId()
Gets the service instance id for the Retrieve and Rank service.
|
equals, hashCode, toString
public IndexConfiguration(String serviceInstanceId, String clusterId, String searchCollectionName)
serviceInstanceId
- The instance id for the Retrieve and Rank service. To find your
service_instance_id
, click the tile for your service in Bluemix, and then look at the URL in
the browser for the serviceGuid=
request parameter. The value for
service_instance_id
is the value for serviceGuid
.clusterId
- The Solr cluster id from the Retrieve and Rank servicesearchCollectionName
- The Solr search collection namepublic IndexConfiguration(String serviceInstanceId, String clusterId, String searchCollectionName, IndexFields fields)
serviceInstanceId
- The instance id for the Retrieve and Rank serviceclusterId
- The Solr cluster id from the Retrieve and Rank servicesearchCollectionName
- The Solr search collection namefields
- The field mapping object to pass to the Retrieve and Rank servicepublic String getClusterId()
public IndexFields getFields()
public String getSearchCollectionName()
public String getServiceInstanceId()
service_instance_id
,
click the tile for your service in Bluemix, and then look at the URL in the browser for the
serviceGuid=
request parameter. The value for service_instance_id
is the value for
serviceGuid
.Copyright © 2015–2016 IBM Watson. All rights reserved.