public final class DiscoveryBaseClient extends Object
Modifier and Type | Method and Description |
---|---|
DynamicRequest |
autoComplete()
Get auto complete options.
|
DynamicRequest |
invoke()
Create an empty DynamicRequest with the serializer and pipeline initialized for this client.
|
DynamicRequest |
query()
Gets data using search.
|
DynamicRequest |
suggest()
Get search suggestions by query criteria.
|
public DynamicRequest query()
Request Body Schema
{
keywords: String
offset: Integer
limit: Integer
filter: Object
facets: [
{
count: Integer
facet: String
sort: Object
}
]
taxonomySetting: {
assetTypes: [
String
]
facet: (recursive schema, see facet above)
}
}
Response Body Schema
{
searchCount: Integer
searchFacets: {
assetType: [
{
count: Integer
value: String
}
]
classification: [
(recursive schema, see above)
]
classificationCategory: [
(recursive schema, see above)
]
contactId: [
(recursive schema, see above)
]
fileExtension: [
(recursive schema, see above)
]
label: [
(recursive schema, see above)
]
term: [
(recursive schema, see above)
]
}
value: [
{
searchScore: Float
searchHighlights: {
id: [
String
]
qualifiedName: [
String
]
name: [
String
]
description: [
String
]
entityType: [
String
]
}
searchText: String
description: String
id: String
name: String
owner: String
qualifiedName: String
entityType: String
classification: [
String
]
label: [
String
]
term: [
{
name: String
glossaryName: String
guid: String
}
]
contact: [
{
id: String
info: String
contactType: String
}
]
assetType: [
String
]
}
]
}
public DynamicRequest suggest()
Request Body Schema
{
keywords: String
limit: Integer
filter: Object
}
Response Body Schema
{
value: [
{
searchScore: Float
searchText: String
description: String
id: String
name: String
owner: String
qualifiedName: String
entityType: String
classification: [
String
]
label: [
String
]
term: [
{
name: String
glossaryName: String
guid: String
}
]
contact: [
{
id: String
info: String
contactType: String
}
]
assetType: [
String
]
}
]
}
public DynamicRequest autoComplete()
Request Body Schema
{
keywords: String
limit: Integer
filter: Object
}
Response Body Schema
{
value: [
{
text: String
queryPlusText: String
}
]
}
public DynamicRequest invoke()
Copyright © 2021. All rights reserved.