query
Search the node's metadata index directly.
New in v2.
Usage
const = await .({
: {
: {
: [{ : { 'credentialSubject.metadata.type': 'dataset' } }]
}
},
: 25
}) An escape hatch for searches nautilus does not wrap. The query is passed to the node untouched.
Returns
- Type:
unknown
The node's raw response — typically { hits: { hits: [{ _source }] } }. It is not typed,
because the shape depends on the node's database backend.
For the common case of resolving several known DIDs, use
getAssets instead, which unwraps the response for you.
Parameters
query
- Type:
SearchQuery
{ query, from?, size?, sort?, aggs? }.