public class IndexConfiguration extends GenericModel
DocumentConversion
Constructor and Description |
---|
IndexConfiguration(java.lang.String serviceInstanceId,
java.lang.String clusterId,
java.lang.String searchCollectionName)
Constructor for the Retrieve and Rank configuration.
|
IndexConfiguration(java.lang.String serviceInstanceId,
java.lang.String clusterId,
java.lang.String searchCollectionName,
IndexFields fields)
Constructor for the Retrieve and Rank configuration.
|
Modifier and Type | Method and Description |
---|---|
java.lang.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.
|
java.lang.String |
getSearchCollectionName()
Gets the search collection name for the Retrieve and Rank service.
|
java.lang.String |
getServiceInstanceId()
Gets the service instance id for the Retrieve and Rank service.
|
equals, hashCode, toString
public IndexConfiguration(java.lang.String serviceInstanceId, java.lang.String clusterId, java.lang.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(java.lang.String serviceInstanceId, java.lang.String clusterId, java.lang.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 java.lang.String getClusterId()
public IndexFields getFields()
public java.lang.String getSearchCollectionName()
public java.lang.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
.