Skip to content

LOOKUP ON 使用id(VERTEX)获取vid 是否会触发 GetVertices 如何优化? #6100

@weiy3431-ai

Description

@weiy3431-ai

LOOKUP ON 使用id(VERTEX)获取vid 是否会触发 GetVertices 如何优化?
如何通过其他方法来获取到vid。
ngql:PROFILE LOOKUP ON Author WHERE (Author.name in ['李伟'] OR Author.en_name in ['李伟']) YIELD id(VERTEX) as author_id

outputVar: {
"colNames": [
"_vid",
"Author._tag",
"Author.create_time",
"Author.email",
"Author.en_name",
"Author.id",
"Author.name",
"Author.orc_id",
"Author.profile",
"Author.type",
"Author.update_time"
],
"type": "DATASET",
"name": "__Filter_2"
}

ngql:PROFILE LOOKUP ON Author WHERE (Author.name in ['李伟'] OR Author.en_name in ['李伟']) YIELD Author.email
outputVar: {
"colNames": [
"_vid",
"Author.email",
"Author.en_name",
"Author.name"
],
"type": "DATASET",
"name": "__Filter_2"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions