searchSchemaFields
Topics: Apps
Semantic search over GraphQL fields on types
Returns
[SchemaDocSearchResult!]!Arguments
Natural-language search phrase; embedded and matched against field paths (Type.field) and descriptions by cosine similarity.
Maximum number of matches to return, best-scoring first. Defaults to 10.
Exact field SDL
"""Semantic search over GraphQL fields on types"""
searchSchemaFields(
"""
Natural-language search phrase; embedded and matched against field paths (Type.field) and descriptions by cosine similarity.
"""
query: String!
"""
Maximum number of matches to return, best-scoring first. Defaults to 10.
"""
topK: Int
): [SchemaDocSearchResult!]! @topic(names: ["apps"])Declared on Query. Access is checked by the platform for each operation.